Re: [PHP-DEV] Limitations of the ZendEngine2 Object Model?

2002-11-18 Thread Stanislav Malyshev
PM>> > class Root { PM>> class Nested { PM>>function Nested() { PM>> print("Root::Nested constructed\n"); PM>>} PM>> } PM>> } PM>> PM>> class Child extends Root { PM>> class Nested { PM>>function Nested() { PM>> parent::Nested(); PM>> print("Child::Nested construct

Re: [PHP-DEV] Limitations of the ZendEngine2 Object Model?

2002-11-17 Thread Sebastian Bergmann
Pete McCormick wrote: > class Root { > class Nested { >function Nested() { The constructor should be called __construct(). Constructors with their name beeing the class name are only supported for BC. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOp

[PHP-DEV] Limitations of the ZendEngine2 Object Model?

2002-11-17 Thread Pete McCormick
Hello, I've been following the developments of the latest ZE2-enabled PHP for a while, and I feel that some of the work regarding namespaces/nested classes aren't quite doing what they are suppose to. An example: If you attempt to execute this script with the PHP 4.3.0 ZE2 alphas (either 1 or 2