Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37723 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94006 invoked from network); 19 May 2008 16:25:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 May 2008 16:25:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:54871] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/E0-23054-41AA1384 for ; Mon, 19 May 2008 12:25:58 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 May 2008 19:27:02 +0300 Received: from [192.168.16.217] ([192.168.16.217]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 May 2008 09:26:59 -0700 Message-ID: <4831AA0B.2040306@zend.com> Date: Mon, 19 May 2008 09:25:47 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: RQuadling@GoogleMail.com CC: Marcus Boerger , PHP Developers Mailing List References: <48169695.9040803@omegavortex.net> <1629174644.20080514020633@marcus-boerger.de> <76FF1B4A-1CAB-407A-9E6D-41E8C1137FCB@cschneid.com> <1284376279.20080518132000@marcus-boerger.de> <203770284.20080518184111@marcus-boerger.de> <1082257838.20080518193053@marcus-boerger.de> <1351350.20080518223746@marcus-boerger.de> <4830C61A.6020003@zend.com> <10845a340805190155ha1f888bmf512862050bea02c@mail.gmail.com> In-Reply-To: <10845a340805190155ha1f888bmf512862050bea02c@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 May 2008 16:26:59.0555 (UTC) FILETIME=[297CFB30:01C8B9CD] Subject: Re: [PHP-DEV] Class Properties in Interfaces? From: stas@zend.com (Stanislav Malyshev) Hi! > Would the following be acceptable? > > (Not E_STRICT) If error_reporting does not include E_STRICT, then I think making the language internals depend on error_reporting setting is not a very good idea, especially on E_STRICT. I.e., I have nothing against making unset() trigger E_STRICT if it is warranted, though I'm not sure how exactly you'd implement that. But changing what unset() does to symbol table depending on E_STRICT is IMHO wrong. Error reporting is for reporting errors to the user, not switching engine to different incompatible behavior. Imagine WTF factor if same method call would act differently with and without @. > interface foo { > public bar read fReadBar, write fWriteBar; > } You really don't want to make read and write keywords ;) -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com