From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to