note 26141 added to language.operators.errorcontrol
| From: | php-general at lists dot php dot net | Date: | Sat, 19 Oct 2002 16:00:39 +0000 |
| Subject: | note 26141 added to language.operators.errorcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38295@lists.php.net to get a copy of this message | ||
To suppress errors for a method inside a class, place the @ operator before the object and not
before the method name.
// DO:
@$this->foo($bar);
// DON'T:
$this->@foo($bar);
--
http://www.php.net/manual/en/language.operators.errorcontrol.php
http://master.php.net/manage/user-notes.php?action=edit+26141
http://master.php.net/manage/user-notes.php?action=delete+26141
http://master.php.net/manage/user-notes.php?action=reject+26141