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
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
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