[PHP-DOC] Bug #11719: Clarification of $foo = new Class and $foo = &new Class From: danbeck <email protected>
Date: 06/27/01

From: danbeck <email protected>
Operating system: Any
PHP version: 4.0 Latest CVS (2001-06-27)
PHP Bug Type: Documentation problem
Bug description: Clarification of $foo = new Class and $foo = &new Class

The "References" section of the documentation needs more clarification of the difference between:

$foo = new Class;
and
$foo = &new Class;

and when or if each should be used.

-- 
Edit Bug report at: http://bugs.php.net/?id=11719&edit=1