Re: php5 call by refference
| From: | David Grant | Date: | Mon, 21 Nov 2005 09:51:32 +0000 |
| Subject: | Re: php5 call by refference | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226181@lists.php.net to get a copy of this message | ||
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 ?
>