Re: pear is dead on php 5.3

From: Date: Thu, 31 Jan 2008 13:59:11 +0000
Subject: Re: pear is dead on php 5.3
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-49042@lists.php.net to get a copy of this message
Christian Weiske wrote:
in 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()? Martin

« previous php.pear.dev (#49042) next »