Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83219 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80391 invoked from network); 19 Feb 2015 16:25:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2015 16:25:08 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.172 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.172 mail-vc0-f172.google.com Received: from [209.85.220.172] ([209.85.220.172:65306] helo=mail-vc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/52-18870-46E06E45 for ; Thu, 19 Feb 2015 11:25:08 -0500 Received: by mail-vc0-f172.google.com with SMTP id kv7so1499196vcb.3 for ; Thu, 19 Feb 2015 08:25:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=horTKyAUbyM/ThTPdmYH0UzQBXJ2UGTg9dIyHjq4h7Q=; b=hYcRYBqpzWUJuG7ipOBitQMCFUbMq8VHfKyWXd0N96P13dmAg20FwkChG+XLU0FThf WTNBPCOqvKkUH7hDc9voSoFa7YDbTC6a0/35RWptu33hGlAAmqOgLjF/tbM3CGaoYLOP il2UUFp5Yw97bu0Fav5HYV6isjkBKgUju904Mly8GB/utfgLKOzZKI/rYIMBxRCreUbw Yd/Iw/c+97K/pWxE946v9LhUwiGrvoys2ycJU13bin+pOYXvz8Td/VrJyOtjqlR0Z2Uu gwVkZPbueZnwKUo9M0+h0ViU8pomTBnQx8Pf5zc6gzIlx3PA/3Tz4cVLJYMSzArhNZjJ dNuA== X-Gm-Message-State: ALoCoQly1l5H/06eEmwi1Stb05MmC2ho2uRokcZx8gpFKZFCESXvwTRinJ7jwqdfM5BZAji0Gyy1fAIctgaWAZcQTQhxK1ALGiFRNShUFWLeRyaL8MLOafag7QAKpqFy+nsszrnQqxYW2Zjx2k+j9/mu1ey47rqMcg== MIME-Version: 1.0 X-Received: by 10.221.47.193 with SMTP id ut1mr2962028vcb.21.1424363105389; Thu, 19 Feb 2015 08:25:05 -0800 (PST) Received: by 10.52.74.73 with HTTP; Thu, 19 Feb 2015 08:25:05 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Feb 2015 20:25:05 +0400 Message-ID: To: Dan Ackroyd Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=001a113392eceda4a6050f736006 Subject: Re: [PHP-DEV] Re: [RFC] Exceptions in the engine From: dmitry@zend.com (Dmitry Stogov) --001a113392eceda4a6050f736006 Content-Type: text/plain; charset=UTF-8 On Thu, Feb 19, 2015 at 7:06 PM, Dan Ackroyd wrote: > On 19 February 2015 at 15:46, Dmitry Stogov wrote: > > Exception declares protected properties that may be used in child classes > > directly. > > This is not possible with interface. > > So, you're saying it's easier to implement? > > That isn't a fantastic way of making a language design decision. > We don't design from scratch. We improve PHP for years, and we are tying to do it with minimal breaks for our users. If we may keep compatibility, we would prefer to keep it, instead of allying yet another pattern from a modern book. Dmitry. > > cheers > Dan > --001a113392eceda4a6050f736006--