Re: rejoice (OO-madness)
| From: | till | Date: | Mon, 03 Mar 2008 09:38:29 +0000 |
| Subject: | Re: rejoice (OO-madness) | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49240@lists.php.net to get a copy of this message | ||
On Mon, Mar 3, 2008 at 7:44 AM, Christian Weiske <cweiske@cweiske.de> wrote:
> Hello Till,
>
>
>
> > 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 ...
> >
>
> > 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.
>
> Something is wrong with your PHP(TM). That should not happen, and
> especially not in PHP 5.2.5.
Yeah. :O Something wrong with myself too - lack of sleep etc..
I didn't see this at first, but this is a static call to the
constructor which has not been possible since 5.0.0. At least various
people on IRC tried and confirmed that it had not been working. I
didn't see this earlier and *ass*umed =( that all static calls
(without the proper visibility) were broken. Anyway - I still think
this is subject to E_STRICT to alert developers of the problem and not
a good fit for to E_FATAL (yet).
I had to patch 30+ websites (Mambo, Joomla, Drupal, ...) over the
weekend to get rid off this error and I guess this is also one of the
reason why I panic'd. ;-)
Till