Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69651 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16318 invoked from network); 17 Oct 2013 18:10:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2013 18:10:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:52927] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/A5-12663-C1820625 for ; Thu, 17 Oct 2013 14:10:37 -0400 Received: from [192.168.2.20] (ppp-88-217-72-240.dynamic.mnet-online.de [88.217.72.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 86786401F7; Thu, 17 Oct 2013 20:10:46 +0200 (CEST) To: Levi Morrison Cc: Benjamin Schneider , internals In-Reply-To: References: <1382032459.3980.276.camel@guybrush> Content-Type: text/plain; charset="UTF-8" Date: Thu, 17 Oct 2013 20:10:24 +0200 Message-ID: <1382033424.3980.277.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Proposal: Introduction of InvalidStateException From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2013-10-17 at 12:01 -0600, Levi Morrison wrote: > > I agree, Johannes. However, there are actually times where the SPL > should internally throw these exceptions. A work-in-progress can be at > found https://github.com/morrisonlevi/php-src/tree/StateExceptions. > There are actually way more use-cases for StateException than I > originally believed. Then this should be proposed in combination. johannes