note 69270 deleted from function.call-user-func by cmb

From: Date: Sun, 08 Dec 2019 11:14:17 +0000
Subject: note 69270 deleted from function.call-user-func by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213448@lists.php.net to get a copy of this message
Note Submitter: watchout at no dot spam dot please ---- > This particular case will not work. The user functions can only be successfully called (as the > documentation alludes to), with static calls to class functions. actually it *does* work on PHP 5.0.2 (tested), and should also work on PHP 4.3.x (untested). Also the documentation does not state that only calls to static class methods are possible, but it says clearly that calls to OBJECT (thats dynamic) methods are possible: http://cz.php.net/manual/en/language.pseudo-types.php (see under type callback)

« previous php.notes (#213448) next »