Re: Re: Function variables in classes

From: Date: Thu, 01 Nov 2007 15:10:38 +0000
Subject: Re: Re: Function variables in classes
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-263922@lists.php.net to get a copy of this message
Sebastian Hopfe wrote: > I think you should log it, because it seems to be, and you found this > error. it's not a bug - especially because nobody has bothered to mention the php version. I'm guessing that it's being run on a version php5, in which case the fatal error seems correct - you have a non-static method defined and then you are trying to call that method statically which is not allowed (IIRC whether this works or not depends on the minor version of php5 your running - something the OO-purism gang forced on us, actually the restriction may have been removed again - I've completely lost track of the state of the exact OO rules in any given version of php5) > > Regard > Sebastian > > "Paul van Haren" <paul.vanharen@zonnet.nl> schrieb im Newsbeitrag > news:75.92.02860.345C9274@pb1.pair.com... >> Thanks, this helps. The code now works. >> In case this is truely a bug in PHP, where should I log it? Anything that >> I should do to make sure that it gets followed up? >> >> Regards, Paul >

« previous php.general (#263922) next »