Re: [PHP-DEV] Re: Bug with static property access

2011-10-04 Thread Chris Stockton
Hello, On Tue, Oct 4, 2011 at 11:28 PM, Christian Kaps wrote: > > > It's available since PHP 5.3. This feature is called "late static binding". > Before anyone else responds to my post, please read the entire message! It's simple really, the error message is odd and misleading for the example c

Re: [PHP-DEV] Re: Bug with static property access

2011-10-04 Thread Christian Kaps
>> >> >> >> > In addition, as I understand and would like to make you aware that > static is not allowed in compile time class constants. Which is > slightly unusual and perhaps could be changed because it seems that > there is already runtime resolving taking place here. > It's available si

Re: [PHP-DEV] Re: Bug with static property access

2011-10-04 Thread Chris Stockton
Hello, On Tue, Oct 4, 2011 at 11:33 AM, Matthew Weier O'Phinney wrote: > > That makes complete sense to me -- ClassA is referring to self, which > resolves to ClassA... which does not define a "VERSION" constant. Change > to this: > >    public $version = static::VERSION; > > and it should be fin

[PHP-DEV] Re: Bug with static property access

2011-10-04 Thread Matthew Weier O'Phinney
On 2011-10-03, Chris Stockton wrote: > Hello, > > I noticed the following odd behavior earlier today, there is > definitely a bug here in my opinion, the bug is either the error > message or the behavior. I think the behavior is possibly expected. > I'll let some others comment. > > The reason I t

[PHP-DEV] RM decision on BUG #55801 / FR #36424

2011-10-04 Thread Michael Wallner
Hi, could the release manager(s) please take a decision on mentioned bug/feature request? Thanks a lot, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] zend memory managment null pointer dereference

2011-10-04 Thread Chester, Alan
Antony, I am fairly confident we are not using any third party caching (ie apc, eAccelerator,etc). However other then running php --version is there any other way to verify what caching system is being used? [root@cab4en2b7 ~]# php --version PHP 5.2.17 (cli) (built: Aug 2 2011 13:33:29) Copyr