Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83222 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85042 invoked from network); 19 Feb 2015 16:37:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2015 16:37:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.169 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.169 mail-yk0-f169.google.com Received: from [209.85.160.169] ([209.85.160.169:50089] helo=mail-yk0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/33-18870-83116E45 for ; Thu, 19 Feb 2015 11:37:13 -0500 Received: by mail-yk0-f169.google.com with SMTP id 79so4567185ykr.0 for ; Thu, 19 Feb 2015 08:37:09 -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=fXH9FQQuQv6r2iGN73gnpMxw0/Z37OjyVTe9A45V01A=; b=eDtEtUkzS+mOR4mrimjxDuDWWr2BUWI8ExPrhrfNZ92lBFhOyTWp1Vb5gu5+UKTXyf 47Hxgmel13fIDN41PgquOKDqEjJ5ThbRtisf1otXgHhFJXO5dANPhta7WcklM393IlOC L6LyhVBTXViGGaSMY4r673X97tzlsfuhm9cdYfS1aDGyulznf1J9NIaY/Bg9fVq5STfo qI6TW5OzJZAcmEUmi+qNBqtPXi36HL8IdGM2R10jfeH9LrCRKZ9F922RQJ5dy2VlXOt4 ixyIIE3tszFh3YScOlEBa0tLXcEN1SprKskKVEUiJjyzhHLOh2MCrsEnQWNFpiKiPn8E US5A== X-Gm-Message-State: ALoCoQlUkmOHWP+Qiwkyjm5obhgbj3lFXgVVLIvSX4muaMt/bUVD1Fau7RcMGDcDf3XPZd3GOriC MIME-Version: 1.0 X-Received: by 10.236.216.3 with SMTP id f3mr3499128yhp.158.1424363828793; Thu, 19 Feb 2015 08:37:08 -0800 (PST) Received: by 10.170.71.86 with HTTP; Thu, 19 Feb 2015 08:37:08 -0800 (PST) X-Originating-IP: [89.240.52.213] In-Reply-To: References: Date: Thu, 19 Feb 2015 16:37:08 +0000 Message-ID: To: Dmitry Stogov Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC] Exceptions in the engine From: danack@basereality.com (Dan Ackroyd) On 19 February 2015 at 16:25, Dmitry Stogov wrote: > > we are tying to > do it with minimal breaks for our users. If we may keep compatibility, we > would prefer to keep it, Yeah - you still haven't said why choosing to extend exception rather than using an interface has fewer BC problems. > We thought about "Throwable" or "Catchable" interface, but this change would require more changes and will make more BC breaks. > Exception declares protected properties that may be used in child classes directly. Any class that extends Exception currently will still behave as it does before. The only change to the Exception class would be add the interface to it's declaration. I can't see how this causes a BC break. Please can you say what the BC break is if you think there is one. cheers Dan