Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75999 invoked from network); 24 Jan 2015 17:10:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2015 17:10:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.41 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.218.41 mail-oi0-f41.google.com Received: from [209.85.218.41] ([209.85.218.41:52649] helo=mail-oi0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/24-49997-E12D3C45 for ; Sat, 24 Jan 2015 12:10:54 -0500 Received: by mail-oi0-f41.google.com with SMTP id z81so2088116oif.0 for ; Sat, 24 Jan 2015 09:10:51 -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:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=3WR+qtr5L5aCZerYvTlrEPJTjOjpMFD7t6ZCU3Qg1oQ=; b=BxzsgOtY8foTBvnFY1XpkcrNGTK8ENl1yLPhhAXPdbz5ivueCqgFg/dxcIoXm8TQ2o U+Fw3DxNQoW5nxfj/H/ycH1R/j/izarr5Kw3UAPifYthjfNsusblk+rmcfT/N0BNc7LR OXhpKm/N9mbjdxlfvb6I+QcKocjNXPXJ95Z49BZsM4LgGAb4l++4OyplGhNqzrysWbQm kcoMAWb7/FYw9uAGO3gLEha6YzZFGiGTIud1/UO3pIufP9g2EY+O6Aj+d2ZdjJbKWwAX aoPNMedvjqKtY/Pm+EiAX2EQIkYjVTe7k9vndIdfaTxvK0DhodAUKAotdI4Of9i9bE6A 5LAw== MIME-Version: 1.0 X-Received: by 10.60.48.98 with SMTP id k2mr3236368oen.49.1422119451358; Sat, 24 Jan 2015 09:10:51 -0800 (PST) Sender: morrison.levi@gmail.com Received: by 10.76.103.101 with HTTP; Sat, 24 Jan 2015 09:10:51 -0800 (PST) In-Reply-To: <4D7DEFFA-90BC-4117-956E-70B1A02A9C96@gmail.com> References: <002601cff777$eb923430$c2b69c90$@tutteli.ch> <000601cff80a$972e0250$c58a06f0$@tutteli.ch> <5458937F.9020304@sugarcrm.com> <545910F1.8030904@sugarcrm.com> <859A97F0-7C58-406A-857B-557F8AA657AD@ajf.me> <545917A2.6000206@lerdorf.com> <545977E1.2060700@sugarcrm.com> <54599A0F.2060400@sugarcrm.com> <001801d037c6$2a7976c0$7f6c6440$@tutteli.ch> <4D7DEFFA-90BC-4117-956E-70B1A02A9C96@gmail.com> Date: Sat, 24 Jan 2015 10:10:51 -0700 X-Google-Sender-Auth: _tqG-tzdtW5Ms-ZzfyWkdUJHExQ Message-ID: To: Rowan Collins Cc: Robert Stoll , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Types on the right or on the left From: levim@php.net (Levi Morrison) On Sat, Jan 24, 2015 at 7:42 AM, Rowan Collins wr= ote: > On 24 January 2015 11:09:04 GMT, Robert Stoll wrote: > >>Besides, pretty much the same impact has the return type RFC now, >>because the manual should be updated accordingly to reflect the new >>syntax IMO. Sounds like lot of work but it should be possible to >>migrate the docs with a tool. > > As I said in another thread, updating the manual is nothing at all like c= hanging the language. It is a single, centrally-controlled set of content, = which doesn't have to be compatible with multiple environments, and has a m= inimum requirement of internal consistency which has been met in some cases= with arbitrary conventions unrelated to the language. It may even be possi= ble to change the notation without changing the source, by altering the out= put templates, but if not, an automated change to use a new convention more= similar to new language syntax is a no-brainer. Assuming that we are using well-formed DocBook for the methodsynopsis (which at a glance we seem to do) then hopefully the doc renderer can take care of the change. It will need to change to use a chunking function, which I'm not familiar with yet. I'm certainly willing to look into this.