Bug #14094: Documentation for @new is missing

From: Date: Sat, 17 Nov 2001 22:01:46 +0000
Subject: Bug #14094: Documentation for @new is missing
Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-70756@lists.php.net to get a copy of this message
From: mfischer@guru.josefine.at Operating system: PHP version: 4.0.6 PHP Bug Type: Documentation problem Bug description: Documentation for @new is missing The documentation about classes/objects misses that you actually can prevent exposing errors in the constructor by using @new. And, it should also mentioned that you can't use the '@' operator with &new. $obj = @new classname; // ok, works $obj = @&new classname; // parser error &new classname is a special case, therefore you can't "mute" it. -- Edit bug report at: http://bugs.php.net/?id=14094&edit=1

« previous php.dev (#70756) next »