|
Posted by Jochem Maas on 10/10/71 11:32
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
argument is not passed by reference then you can use a function call as
the argument directly.
apart from, atleast, func_get_args() which cannot be used directly as a
function argument for some reason I don't fully understand (has to do
with engine internals I believe)
> foo(strlen('aaa'),strlen('bbbb'));
>
> Is there some sort of workaround ?
>
Navigation:
[Reply to this message]
|