PHP 4.0 Bug #4280 Updated: cannot return a created reference.
| From: | Bug Database | Date: | Tue, 06 Jun 2000 18:57:05 +0000 |
| Subject: | PHP 4.0 Bug #4280 Updated: cannot return a created reference. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20368@lists.php.net to get a copy of this message | ||
ID: 4280
Updated by: andi
Reported By: andy@qabobala.xapnet.com
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
You can do this in the following way (should work)
function &blah()
{
$stuff = "foo";
return $stuff;
}
Full Bug description available at: http://bugs.php.net/version4/?id=4280