Re: fns
| From: | jeremy brand | Date: | Thu, 16 Nov 2000 00:19:53 +0000 |
| Subject: | Re: fns | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25555@lists.php.net to get a copy of this message | ||
That is not true. I do this all the time...
$return = function1(function2($something));
Although, I'm not sure that the & works at the head of a
function like it does on a variable. If you are doing this and it is
not working, try taking off the &.
-jeremy brand
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
---------------------------------------------------------------------
We cannot do everything at once, but we can do something at once.
-- Calvin Coolidge
> Hello,
>
> Is it true that one cannot call to a function within a function in PHP?
> I mean this:
>
> $result = &function1(&function2($input));
>
> thanks!
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>