Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57418 invoked from network); 14 Feb 2015 03:33:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2015 03:33:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=reeze.xia@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=reeze.xia@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.169 as permitted sender) X-PHP-List-Original-Sender: reeze.xia@gmail.com X-Host-Fingerprint: 74.125.82.169 mail-we0-f169.google.com Received: from [74.125.82.169] ([74.125.82.169:36082] helo=mail-we0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/27-15073-2F1CED45 for ; Fri, 13 Feb 2015 22:33:07 -0500 Received: by mail-we0-f169.google.com with SMTP id k48so20049778wev.0 for ; Fri, 13 Feb 2015 19:33:03 -0800 (PST) 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:message-id :subject:to:cc:content-type; bh=Y9N7ect74gdkWGBMMpCj1Yr0ICnSNUXRkGNgVbKsal8=; b=X6p2F1YjJlM+VaLCn4rlniN2+RkJfjeVZOfIrKCTye7pb9HFF7rN96fedXwOFG1MKr S+gMVAaTNy1vMRNnoeZoAdkK7mRhTMdtlpvb7pJRHzvGj6slFZqXOgV6R1niiGtNxUd8 Lr03NPpUnAiiuiJK4jvq0l7Rox+MuqMzLrkyryeEFDL9fOh4mp3XlGJPyCSm+qAoJbDj nMfTfPfBdp+HRPHDUoVV62zJYZ4stduvoZtjG32P6tp35OVSpK6eJSaJlHm4CpEBiOYC YBEQjr/WgEqcwvkP1xxoHV8JK/jiWQpo5TBORSObwXOQVR9iDZzJi3tRngRye7trxLTY bnkg== X-Received: by 10.180.77.40 with SMTP id p8mr5411704wiw.53.1423884783535; Fri, 13 Feb 2015 19:33:03 -0800 (PST) MIME-Version: 1.0 Sender: reeze.xia@gmail.com Received: by 10.194.193.5 with HTTP; Fri, 13 Feb 2015 19:32:43 -0800 (PST) In-Reply-To: <680FB44D-B42D-4898-A28B-FA1C6E4D4D1A@ajf.me> References: <680FB44D-B42D-4898-A28B-FA1C6E4D4D1A@ajf.me> Date: Sat, 14 Feb 2015 11:32:43 +0800 X-Google-Sender-Auth: fbPUMI3GorYrreVPxA3ykfDbz8Q Message-ID: To: Andrea Faulds Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d0402abefb94a7d050f040220 Subject: Re: [PHP-DEV] [RFC] Void Return Type From: reeze@php.net (reeze) --f46d0402abefb94a7d050f040220 Content-Type: text/plain; charset=ISO-8859-1 Do we really have to throw an catchable fatal error? the other return types make sense, why so strict? On 14 February 2015 at 11:18, Andrea Faulds wrote: > Hi everyone, > > I've written a small RFC and patch to add a "void" return type: > > https://wiki.php.net/rfc/void_return_type > > Please have a read over it. I think this would be a simple, yet useful > addition. > > Thanks! > -- > Andrea Faulds > http://ajf.me/ > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Reeze Xia http://reeze.cn --f46d0402abefb94a7d050f040220--