Re: [PHP] php5 call by refference

2005-11-21 Thread Marcus Bointon
On 21 Nov 2005, at 09:26, Georgi Ivanov wrote: 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('')); You can call functions like that without problems UNLESS the function is expecting v

Re: [PHP] php5 call by refference

2005-11-21 Thread Jochem Maas
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. which means that you can't use a function call as the argument to a function that required the argument to be passed by reference, if the argume

Re: [PHP] php5 call by refference

2005-11-21 Thread David Grant
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 ref

[PHP] php5 call by refference

2005-11-21 Thread Georgi Ivanov
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('')); Is there some sort of workaround ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu