Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42916 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26434 invoked from network); 4 Feb 2009 14:46:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2009 14:46:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=rrichards@ctindustries.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=rrichards@ctindustries.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain ctindustries.net does not designate 207.58.142.213 as permitted sender) X-PHP-List-Original-Sender: rrichards@ctindustries.net X-Host-Fingerprint: 207.58.142.213 smtp2go.com Linux 2.6 Received: from [207.58.142.213] ([207.58.142.213:51516] helo=www.smtp2go.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/5C-61634-B4AA9894 for ; Wed, 04 Feb 2009 09:46:35 -0500 Received: from [67.158.171.203] (helo=rrichardsmbp.local) by www.smtp2go.com with esmtp (Exim 4.63) (envelope-from ) id 1LUj1K-0005cM-4s; Wed, 04 Feb 2009 14:46:30 +0000 Message-ID: <4989AA43.8020807@ctindustries.net> Date: Wed, 04 Feb 2009 09:46:27 -0500 User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: =?UTF-8?B?UGF3ZcWCIFN0cmFkb21za2k=?= CC: internals@lists.php.net, Sebastian Bergmann References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <4989A5D6.5010201@ctindustries.net> <200902041533.09276.pstradomski@gmail.com> In-Reply-To: <200902041533.09276.pstradomski@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SMTP2Go-MailScanner-Information: Please contact support@smtp2go.com for more information X-SMTP2Go-MailScanner: Found to be clean X-SMTP2Go-MailScanner-From: rrichards@ctindustries.net Subject: Re: [PHP-DEV] towards the next 5.3 release From: rrichards@ctindustries.net (Rob Richards) 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