note 82454 deleted from function.set-error-handler by cmb
| From: | cmb@php.net | Date: | Sun, 25 Aug 2019 08:54:53 +0000 |
| Subject: | note 82454 deleted from function.set-error-handler by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211983@lists.php.net to get a copy of this message | ||
Note Submitter: jonbarnett at gmail dot com
----
Per the comment below:
There's no problem with static class functions.
The proper way to set a callback for a static class function is:
array("Classname", "functionname")
The class name is a string. If you don't quote the string, PHP treats it as a barestring and
triggers a notice.
/manual/en/language.pseudo-types.php