[PHP-DEV] PHP 4.0 Bug #4280: cannot return a created reference. From: andy <email protected>
Date: 04/29/00

From: andy <email protected>
Operating system: Linux 2.2.14
PHP version: 4.0 Beta 4
PHP Bug Type: Scripting Engine problem
Bug description: cannot return a created reference.

A function cannot return a reference to a created object.

Bug or intentionally missing feature? You decide...

example:

function blah() {
  $stuff = "some really really big string";
  return &$stuff;
}

... parser error.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>