RE: [PHP] fns
| From: | Ignacio Vazquez-Abrams | Date: | Thu, 16 Nov 2000 04:38:59 +0000 |
| Subject: | RE: [PHP] fns | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25597@lists.php.net to get a copy of this message | ||
On Wed, 15 Nov 2000, Don Read wrote:
>
> On 16-Nov-00 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));
> >
>
> $result= (reference to) function1( (reference to) funxtion2() ) ???
>
> no it's not true, you can do it.
> but why do want do it ?
> and what do you expect for the result ?
>
Don reported that it's because of a Perl background (I dunno...don't use
it).
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>