rejoice (OO-madness)

From: Date: Sat, 01 Mar 2008 18:48:06 +0000
Subject: rejoice (OO-madness)
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-49215@lists.php.net to get a copy of this message
http://news.php.net/php.internals/35863 PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 29 2008 17:48:58) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies [Sat Mar 1 18:29:21 2008] [error] PHP Fatal error: Non-static method MENU_Default::MENU_Default() cannot be called statically in ... Point taken that this problem right now is inside PEAR code, but as I see it - none of the PHP4 code will now work on my system. That includes all the infamous calls to PEAR::isError(). I got the impression that "this was taken care of" and it had been decided to move this into E_STRICT, but apparently now it's E_FATAL. I really agree that a lot of code needs to be updated and brought up to date etc. but I am no longer sure how I can advocate moving to PHP5 if it breaks so much code in a 5.x release and leaves people with no joice but a rollback. Especially since I am somewhat sure that I tested similar stuff before and it did not do this? Myself I host a dozen Mambo/Joomla installations (Yeah, I am not a huge fan but people still use them.) which are now all broken. I thought that this had been discussed before (especially on internals, as well as on pear-dev) that "we" wanted to avoid such a thing in PHP and rather break it all in PHP6. This is not even 5.3. But 5.2.5 - and I almost sure that I have a 5.2.5 which I built two months ago which doesn't have the issues. Thoughts? Till

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