On Sun, Apr 17, 2011 at 10:11 PM, Krissy Masters
<[email protected]> wrote:
> This might be rather dumb, but all the same…
>
>
>
> <?php echo $var;?>  vs <?php  __($var); ?>
>
>
>
> From reading __() is for l10n  i18n type translate type setup but if used
> just to echo a var is there a downside? Performance issue, just plain wrong?

There's not really any point in doing that as you're calling an extra
function for nothing. So there must be some small performance hit.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to