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
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
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
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
4 matches
Mail list logo