Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77417 invoked by uid 1010); 22 Nov 2005 22:44:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77402 invoked from network); 22 Nov 2005 22:44:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Nov 2005 22:44:39 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:40305] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 49/51-11378-65F93834 for ; Tue, 22 Nov 2005 17:44:38 -0500 Received: from [192.168.1.3] (dslb-084-063-025-117.pools.arcor-ip.net [84.63.25.117]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 84A80610284; Tue, 22 Nov 2005 23:50:30 +0100 (CET) Date: Tue, 22 Nov 2005 23:44:53 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <984084010.20051122234453@marcus-boerger.de> To: Matthias Pigulla Cc: internals In-Reply-To: <00A2E2156BEE8446A81C8881AE117F192C1C4B@companyweb> References: <00A2E2156BEE8446A81C8881AE117F192C1C4B@companyweb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: AW: [PHP-DEV] PDM Meeting Notes From: helly@php.net (Marcus Boerger) Hello Matthias, Tuesday, November 22, 2005, 9:22:16 PM, you wrote: >> 2.10 Dynamic class inheritance > Can someone elaborate a little on what this is supposed to be ;)? Binding static members at run time rather than compile time. See the notes for an example that shows the difference. Usage example again factories. >> 5.3 Implement inheritance rules for type hints >> Issue: Currently we don't check inheritance rules for type-hinted >> parameters. > Could someone please explain what exactly is/is not checked? From=20a typesystem point of view it would be perfectly leagal to change the typehint in a derived class as long as that respects is-a relation with the parent. Since the explanation is a bit complex, not what most people expect we live with the simple disagreement. And since most languages do not respect this correct or not at all anyway there is obviously no real common usecase for it. So PHP can live without that too (imo). Best regards, Marcus