Re: pear is dead on php 5.3
| From: | Chuck Hagenbuch | Date: | Thu, 31 Jan 2008 14:52:27 +0000 |
| Subject: | Re: pear is dead on php 5.3 | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49046@lists.php.net to get a copy of this message | ||
Quoting Martin Jansen <martin@divbyzero.net>:
Christian Weiske wrote:That doesn't work in PHP 4 either. -chuckin php 5.3, calling a method statically with call_user_func(array($class, $method)) will fail if it is not declared static with the keyword. This is true for the validatexml functions in pear installer tasks.I haven't looked at the code in question yet, but wouldn't it be possible to use $class::$method(...); instead of using call_user_func()?