note 93011 added to function.assert-options
| From: | nanomag_12000 at hotmail dot com | Date: | Wed, 19 Aug 2009 15:11:20 +0000 |
| Subject: | note 93011 added to function.assert-options | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159636@lists.php.net to get a copy of this message | ||
If you want your callback function be a method of a class. You can pass an array.
First is the class name, second is the method name
$newcb = array("Contentcheck","sz_failureLine");
assert_options(ASSERT_CALLBACK, $newcb);
----
Server IP: 213.246.51.26
Probable Submitter: 195.6.252.22
----
Manual Page -- http://www.php.net/manual/en/function.assert-options.php
Edit -- https://master.php.net/note/edit/93011
Del: integrated -- https://master.php.net/note/delete/93011/integrated
Del: useless -- https://master.php.net/note/delete/93011/useless
Del: bad code -- https://master.php.net/note/delete/93011/bad+code
Del: spam -- https://master.php.net/note/delete/93011/spam
Del: non-english -- https://master.php.net/note/delete/93011/non-english
Del: in docs -- https://master.php.net/note/delete/93011/in+docs
Del: other reasons-- https://master.php.net/note/delete/93011
Reject -- https://master.php.net/note/reject/93011
Search -- https://master.php.net/manage/user-notes.php