Re: towards the next 5.3 release

From: Date: Wed, 04 Feb 2009 14:46:27 +0000
Subject: Re: towards the next 5.3 release
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-42916@lists.php.net to get a copy of this message
Paweł Stradomski wrote:
W liście Rob Richards z dnia środa 04 lutego 2009:
If that's the route this is going to go, I'd rather be able to set an anytype hint where the developer could possibly restrict this further with a more specific type if they extend the class.
    
But that would break Liskov's principle... I might agree if PHP were strictly an OO language, but it's not. Although SimpleXML is currently the only other extension that shares nodes with DOM, there are potential for others and not everything is OO (i.e. both xmlReader and writer have procedural interfaces).
Rob

« previous php.internals (#42916) next »