php-general | 2001122
Date: 12/27/01
- Next message: Patrik Wallstrom: "Re: [PHP] Hiding URL address"
- Previous message: Valentin V. Petruchek: "Re: [PHP] MsSQL from FreeBSD"
- In reply to: Kancha .: "[PHP] passing by reference"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 27 Dec 2001, Kancha . wrote:
> I coulnd't figure out the difference between the two:
>
> function &foo(){
> $x = "hello";
> return $x;
> }
>
> and
>
> function foo(){
> $x = "hello";
> return &$x;
> }
return &$x will give you a parser error.
Andi
-- 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>
- Next message: Patrik Wallstrom: "Re: [PHP] Hiding URL address"
- Previous message: Valentin V. Petruchek: "Re: [PHP] MsSQL from FreeBSD"
- In reply to: Kancha .: "[PHP] passing by reference"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

