Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85002 invoked from network); 29 Aug 2012 23:08:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2012 23:08:37 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.182 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.212.182 mail-wi0-f182.google.com Received: from [209.85.212.182] ([209.85.212.182:48883] helo=mail-wi0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/74-59480-1F0AE305 for ; Wed, 29 Aug 2012 19:08:34 -0400 Received: by wibhq12 with SMTP id hq12so1074164wib.11 for ; Wed, 29 Aug 2012 16:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=U0LRojXra0KsTcHu4wfr973bDfxt6Wa2yR8wrXOB8hM=; b=fRawAHVdtufdW/xWu3bHxaXOU7+gE7PwJ5P2SH7oNvMYH76DDgbb6C5V2RdWwA2F1W noKGFY4OeRxQAN46E7R2SNsaYMqPyRiUq8OYwmB319QcLmaSJRkw6OEu2fWD+Ojhw8DP NjVx9dcQ19wsQ6OQTrsjoUsnTDISoAiyxi7dWr1fioaIIRi7jZht4QXtifHPSDSoEpa4 RR4/KABFlRmhQMoO/aji+rlgBIxtsPHxHj2JSYXRvZDFt7I5mSS7fQya2TphlWMhQu7k jVsQvi+3L5WWEfzfA+vDyTHyxO5KTWXetD6l7NGMoOjFLW5LMaiNR2EOO7xRKPJYKdIW Bsig== Received: by 10.216.138.92 with SMTP id z70mr1725816wei.68.1346281711470; Wed, 29 Aug 2012 16:08:31 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.223.201.10 with HTTP; Wed, 29 Aug 2012 16:07:50 -0700 (PDT) In-Reply-To: References: <20120829162147.QQCM24459.aamtaout04-winn.ispmail.ntl.com@p2> Date: Thu, 30 Aug 2012 08:07:50 +0900 X-Google-Sender-Auth: DNAj75fK-IZRjnpM9MuEEyF36_s Message-ID: To: Pierre Joye Cc: Derick Rethans , Nikita Popov , Jared Williams , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE] Generators From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, 2012/8/30 Pierre Joye : > hi! > > On Wed, Aug 29, 2012 at 11:19 PM, Derick Rethans wrote: > >> "ext/spl" - SPL is not *core* language. The generators are. Don't throw >> exceptions from core features! > > I would not have a problem with exceptions here. It is much cleaner > than yet another warning. But we have errorException for errors since PHP 5.1. http://jp.php.net/errorException Are there any technical reasons not to have exception? If there are, we should use error. If not, more arguments. BTW, I would like to change errorException behavior. It removes output buffer and make it less useful for error handling. I'll post new thread for it when I have time. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net