Re: php5 call by refference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Georgi,

You should assign the output of the functions to variables before the
call and use those variables as the parameters.

Cheers,

David Grant

Georgi Ivanov wrote:
> Hi,
> AFAIK, in PHP5 one can't call function with function parameters .
> The error is that you only can pass variables by reference.
> foo(strlen('aaa'),strlen('bbbb'));
> 
> Is there some sort of workaround ?
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux