Re: [PHP] fns From: Ignacio Vazquez-Abrams (ignacio <email protected>)
Date: 11/15/00

On Wed, 15 Nov 2000, Thomas Holton wrote:

>
> Hello,
>
> Is it true that one cannot call to a function within a function in PHP?
> I mean this:
>
> $result = &function1(&function2($input));
>
> thanks!
>

Huh? why do you have ampersands there? The following will work (assuming
argument count, input/output types, etc. are fine):

$result=function1(function2($input));

-- 
Ignacio Vazquez-Abrams  <ignacio <email protected>>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>