Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61830 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75650 invoked from network); 27 Jul 2012 05:35:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2012 05:35:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=alex.aulbach@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=alex.aulbach@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: alex.aulbach@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:41963] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/39-18926-0A822105 for ; Fri, 27 Jul 2012 01:35:28 -0400 Received: by yenl12 with SMTP id l12so3296341yen.29 for ; Thu, 26 Jul 2012 22:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7nJkCPUxF5jhQ3+FNeKybszElfaUjmP6eAl1rxhkDrw=; b=fHGVi8CBLPZqWafHYqpRT2/WraeskkNLtAtbKKa/eI4ba9UipHQPIknFveTNgXo27X DBvqdHWApobpFDsimASOXXfv+3sh4qhyAXMI81fMtdgCLoGjHxT3Dk3MlReHagCPGxay smCUovCHfTRAyDoUMA6S1tSj4YHThJtx+2gBkgUFUv/Vgq8xYA5pQNhDjsNUuZimusu6 2j7/i5DMltnevS50bLO1X0rrsMZexEj/O+oy270t716YJiKCVJcz25ABhKecX91I7T6O 2VIGS3hCyuqDIEjEUp3+6nXKyRlkwQxTTsbaXYrLrsTjhwNbeNWVg7yedNBXhJcN6pHE Y//g== MIME-Version: 1.0 Received: by 10.50.212.70 with SMTP id ni6mr845571igc.30.1343367325475; Thu, 26 Jul 2012 22:35:25 -0700 (PDT) Received: by 10.64.44.234 with HTTP; Thu, 26 Jul 2012 22:35:25 -0700 (PDT) In-Reply-To: References: <500EDCC7.1020402@ajf.me> <500EE3B9.8010902@ajf.me> <500EEA76.1030407@ajf.me> <5010138D.5050804@ajf.me> <501015B9.6050704@ajf.me> <501026DB.6030507@ajf.me> <501033C6.8040603@dmi.me.uk> <7544BE6A-7754-4303-BBCF-3D561FD82963@gmail.com> Date: Fri, 27 Jul 2012 07:35:25 +0200 Message-ID: To: Bernhard Schussek Cc: Yahav Gindi Bar , Nikita Popov , Dave Ingram , PHP Development Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Generators in PHP From: alex.aulbach@gmail.com (Alex Aulbach) 2012/7/26 Bernhard Schussek : [about doc-blocks] Fact: Doc blocks are not forced by the language. Fact: For an IDE an own keyword will help the parser to distinct faster/easier between "normal" functions and a generator. Experience: IDEs will have their problems implementing this - think at first try this isn't implemented with all consequences, so they may not be helpful to see the difference. -- Alex Aulbach