note 21931 added to function.assert
| From: | publicmail at macfreek dot nl | Date: | Fri, 31 May 2002 13:29:36 +0000 |
| Subject: | note 21931 added to function.assert | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31282@lists.php.net to get a copy of this message | ||
Note: If you have a custom error handler (that is not the same as a custom assert handler!; see
set_error_handler()), you MUST set:
assert_options (ASSERT_WARNING, 0);
Otherwise, no output will ever be shown if an assert fails.
--
http://www.php.net/manual/en/function.assert.php
http://master.php.net/manage/user-notes.php?action=edit+21931
http://master.php.net/manage/user-notes.php?action=delete+21931
http://master.php.net/manage/user-notes.php?action=reject+21931