Re: Multiple function return question

From: Date: Sun, 15 Sep 2002 13:08:27 +0000
Subject: Re: Multiple function return question
Groups: php.general 
Request: Send a blank email to php-general+get-116438@lists.php.net to get a copy of this message
> From: "Paul Maine" <pmaine@austin.rr.com> > Sent: Sunday, September 15, 2002 8:47 AM > Subject: RE: [PHP] Multiple function return question > That's what I thought. When I execute the following command, it doesn't > return to the immediate funxtion that called it. $pfpro is a C executable > that is passed a number of parameters. Any ideas are greatly appreciated. > > > $command = "$pfpro $host $port \"$args\" $timeout"; > $result = $command; Where does it return to? I took the example I sent you and added this is c(): $output = ls -al; echo "<pre>$output</pre><br>"; The output is below: Entering function a: 10 Entering function b: 11 Entering function c: 12 total 3 drwxr-xr-x 5 me group 512 Sep 15 08:45 . drwxr-xr-x 3 me group 512 Sep 14 10:46 .. -rw-r--r-- 1 me group 551 Sep 15 08:45 test2.php Leaving function c: 13 Leaving function b: 13 Leaving function a: 13 Final value: 13

« previous php.general (#116438) next »