[PHP-DEV] PHP5: ext/dom: Namespaces

2004-03-14 Thread Vivian Steller
hello, once again a post about the tricky namespaces. I played with the following functions concerning namespaces: domdocument->createElementNS domdocument->createAttributeNS domelement->setAttributeNS domelement->getAttributeNS (domelement->hasAttributeNS) as i found out the behavior of some fu

[PHP-DEV] PHP5: Class behavior: method overloading

2004-02-26 Thread Vivian Steller
Hello, in the latest snapshot i found some very important differences to the php5 beta 4 version concerning the behavior of inherited classes. please look at the following example: the output is: Fatal error: Declaration of MyClass::test() must be compatible with that of MyParent::test() in

Re: [PHP-DEV] PHP5: Class behavior: method overloading

2004-02-26 Thread Vivian Steller
Walter A. Boring IV wrote: > I say keep compatibility. If you want to enforce this, then declare an > interface. That is after all why they exist. > > Walt ... Would be nice if you could give a simple example - i really have problems working with interfaces :( My problem was to design a files