I don't , I mean if the function is not str_replace you do not necesary need 
the echo (array_push, as example)
This notation:
<?=
is deprecated since dunno how long ago ... strongly not suggested

> Date: Sun, 29 Mar 2009 01:06:16 +0800
> Subject: Re: [PHP] Calling function on the same line?
> From: virgilio.quila...@gmail.com
> To: an_...@hotmail.com
> CC: php-general@lists.php.net
> 
> >
> > I miss the utility to do stuff like that ... seriously ... but in any case:
> >
> > <?php
> > echo ($f = 'str_replace') ? $f("a", "b", "aaa") : null;
> > ?>
> >
> > where echo is optional.
> >
> > Regards
> 
> you mean this
> <?= ($f = 'str_replace') ? $f("a","b","aaa") : null; ?>
> 
> virgil
> http://www.jampmark.com

_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx

Reply via email to