Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20271 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83325 invoked by uid 1010); 23 Nov 2005 17:40:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83310 invoked from network); 23 Nov 2005 17:40:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2005 17:40:42 -0000 X-Host-Fingerprint: 195.227.108.51 wfserver02.wf-ppr.de Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from ([195.227.108.51:34028] helo=wfserver02.wf-ppr.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5B/EB-11378-999A4834 for ; Wed, 23 Nov 2005 12:40:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Wed, 23 Nov 2005 18:40:37 +0100 Message-ID: <00A2E2156BEE8446A81C8881AE117F192C1C8A@companyweb> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] PDM Meeting Notes Thread-Index: AcXwVGijmiTnXq5IRk2tM+WvL5uOBgAACmqw To: Subject: AW: [PHP-DEV] PDM Meeting Notes From: mp@webfactory.de ("Matthias Pigulla") > Anyway, I see only one use case for interface constructors: ... I also thought about that: $whichClass =3D ... if ($whichClass instanceof ISomehowConstructable) $foo =3D new $whichClass(...); would even work without reflection, but of coure would require to change instanceof a little, too - similar to the way is_subclass_of works right now.=20 -mp.