note 77194 deleted from function.register-shutdown-function by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jul 2008 22:52:20 +0000 |
| Subject: | note 77194 deleted from function.register-shutdown-function by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141777@lists.php.net to get a copy of this message | ||
Note Submitter: Sinured
----
> "Sinured's example of how to use a static method did not work for me."
True, my example only works for PHP5, while yours also works for PHP4. In fact, for PHP5 both
examples are valid, but with a major difference:
'classname::funcname' fails to find class methods that weren't declared static (as I
said below), while array('classname', 'funcname') will execute the (non-static)
method after emitting three E_STRICT errors.