note 8571 added to Returning values

From: Date: Mon, 18 Sep 2000 02:09:15 +0000
Subject: note 8571 added to Returning values
Groups: php.notes 
Request: Send a blank email to php-notes+get-5133@lists.php.net to get a copy of this message
erm, the above return by reference still has a parser error (Using PHP 4.01 Win32 compiler) i.e. this causes an error function &returns_reference() { return &$someref; } $newref = &returns_reference(); To fix this and still keep the returning by reference thingy .... it should read as follows function &returns_reference() { return $someref; } $newref = &returns_reference(); Could someone in the great world of amazingness that is the realm of the PHP gods confirm this? http://www.php.net/manual/functions.returning-values.php

« previous php.notes (#5133) next »