Calling function on the same line?

From: Date: Sat, 28 Mar 2009 12:26:18 +0000
Subject: Calling function on the same line?
Groups: php.general 
Request: Send a blank email to php-general+get-290789@lists.php.net to get a copy of this message
Is there any way to do something like: <?php ("str_replace")("a", "b", "aaa"); ?> ? One of the problems that I must keep "str_replace" on the same line...The only solution I see is call_user_func, but I would like to know if you guys might have a clue =] Tried looking on the manual, sadly didn't found anything Thanks, Daniel

« previous php.general (#290789) next »