Re: [PHP-DEV] Suggestion on static field inheritance

2009-05-18 Thread Jingcheng Zhang
Hello Robin, Thanks for your reply :-) The behaviour of "static fields are shared between subclasses" is exactly what I would like to question, since PHP is not a so called "static programming language" like C++, Java and C#. Currently PHP's object model is designed and implemented as class-based

Re: [PHP-DEV] Suggestion on static field inheritance

2009-05-18 Thread Robin Fernandes
2009/5/16 Jingcheng Zhang : > > Maybe I have not found its detailed description on PHP's official manual, > but PHP does allow static field inheritance. However there is a little > difference between dynamic field inheritance and static field inheritance, > as the following codes shows: Hi! I thi