Re: PEAR2 = PHP6 forcing our hands..

From: Date: Wed, 07 Jun 2006 16:30:33 +0000
Subject: Re: PEAR2 = PHP6 forcing our hands..
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42829@lists.php.net to get a copy of this message
Bonsoir, Alan Knowles wrote:
If anyone has been following internals Mailing list, you may have noticed a discussion about static method calls. basically in PHP6 class PEAR { function getStaticProperty($x,$y) { static $a; return $a[$x][$y]; } } $a = PEAR::getStaticProperty($x,$y); will throw an FATAL error!, unless you prefix the function with static. I take it as an example.
Give that source with the "static" before class. Tell installer to "downgrade" it == withdraw the "static" The key would be to have php5 (x) sources. Installer could do the "downgrade". Pear has to keep among the first layers above php. I don't care about names or numbers , pear2 is ok for me. Obviously, upgrade some php4 to php5 or phpx can only be a human process. I believe downgrades could be easier , when possible :) à+ -- toggg

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