Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100921 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90696 invoked from network); 24 Oct 2017 00:45:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2017 00:45:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 141.146.126.69 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.69 aserp1040.oracle.com Received: from [141.146.126.69] ([141.146.126.69:27925] helo=aserp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/F0-58908-A1D8EE95 for ; Mon, 23 Oct 2017 20:45:15 -0400 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9O0j9GJ003634 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Oct 2017 00:45:09 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v9O0j9mX015931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Oct 2017 00:45:09 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v9O0j95A030738; Tue, 24 Oct 2017 00:45:09 GMT Received: from [10.191.134.163] (/10.191.134.163) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Oct 2017 17:45:08 -0700 To: Thomas Punt , PHP Internals References: Message-ID: <0ac37ce7-62f4-7b1c-5b3d-2d2f45190f07@oracle.com> Date: Tue, 24 Oct 2017 11:45:06 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Source-IP: aserv0022.oracle.com [141.146.126.234] Subject: Re: [PHP-DEV] [RFC] Flexible Heredoc and Nowdoc Syntaxes From: christopher.jones@oracle.com (Christopher Jones) On 13/10/17 8:40 pm, Thomas Punt wrote: > Morning internals, > > > I'd like to propose an RFC to make the heredoc and nowdoc syntaxes more flexible[1]. Any thoughts? > > > Thanks, > > Tom > > > [1]: https://wiki.php.net/rfc/flexible_heredoc_nowdoc_syntaxes > I like the added flexibility in placement of the end token, but I think requiring only tabs or spaces, and stripping whitespace from all {here|now}doc lines is error prone and adds unnecessary complexity. Chris -- http://twitter.com/ghrd