Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84136 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94999 invoked from network); 2 Mar 2015 00:17:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 00:17:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.218 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.218 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.218] ([81.169.146.218:44499] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/F1-17251-92CA3F45 for ; Sun, 01 Mar 2015 19:17:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425255462; l=2737; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=41sm+zE7SZN/5OSiOE4WGenVWqRewLUCaD0nrkrYfBw=; b=fjYrAZRAUs0TgmZWqPwb8KRXYsBcnlN0igltO/MGBw+//PMxUWZS25ldFPSz+ZB18VH YNeq+T3HcEADzs0iEG66v58WJ7O3Wf1/quYEW7UB1K+HypRKeDYC5swl9ni7bApWBT+fp vB2QkEgaOsAlpYN1MEQInKHhaFvV4pAKfIo= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3U6 X-RZG-CLASS-ID: mo00 Received: from mail-wg0-f46.google.com ([74.125.82.46]) by smtp.strato.de (RZmta 37.3 AUTH) with ESMTPSA id U01162r220HgeoH (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Mon, 2 Mar 2015 01:17:42 +0100 (CET) Received: by wgha1 with SMTP id a1so30365291wgh.5 for ; Sun, 01 Mar 2015 16:17:42 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.236.200 with SMTP id uw8mr51835886wjc.10.1425255462685; Sun, 01 Mar 2015 16:17:42 -0800 (PST) Received: by 10.27.77.131 with HTTP; Sun, 1 Mar 2015 16:17:42 -0800 (PST) In-Reply-To: References: Date: Mon, 2 Mar 2015 01:17:42 +0100 Message-ID: To: Daniel Lowrey Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e01493f609156c9051043258f Subject: Re: [PHP-DEV] [RFC Discuss] Generator Delegation From: me@kelunik.com (Niklas Keller) --089e01493f609156c9051043258f Content-Type: text/plain; charset=UTF-8 2015-03-02 0:52 GMT+01:00 Daniel Lowrey : > Hi folks, > > I'd like to initiate discussion on a proposal to implement generator > delegation via the following new syntax inside generator functions: > > yield * > > The Generator Delegation RFC is available here: > > https://wiki.php.net/rfc/generator-delegation > > This proposal is conceptually related to (and requires functionality > proposed by) the forerunning Generator Return Expressions RFC here: > > https://wiki.php.net/rfc/generator-return-expressions > > > Thanks for your time, > > Daniel > The proposed syntax has an issue: send(42); http://3v4l.org/n1sGb#v550 This is currently valid PHP. Regards, Niklas --089e01493f609156c9051043258f--