Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97199 invoked from network); 23 Mar 2008 02:43:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2008 02:43:30 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:41115] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/A4-16027-0D3C5E74 for ; Sat, 22 Mar 2008 21:43:28 -0500 Received: from [192.168.200.148] (c-24-6-219-206.hsd1.ca.comcast.net [24.6.219.206]) (authenticated bits=0) by mail.lerdorf.com (8.14.2/8.14.2/Debian-3) with ESMTP id m2N2hOd4006258; Sat, 22 Mar 2008 19:43:25 -0700 Message-ID: <47E5C3CB.8070202@lerdorf.com> Date: Sat, 22 Mar 2008 19:43:23 -0700 User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Stanislav Malyshev CC: PHP Internals References: <47E3F714.60302@zend.com> <47E40848.1060103@zend.com> <7f3ed2c30803211412v299a0c36m86cabb27b26c232@mail.gmail.com> <47E42657.7010408@zend.com> <7f3ed2c30803211420s6cdd06bcy331880346fa68cb@mail.gmail.com> <47E4281C.80706@zend.com> <47E44A1A.2020703@smashlabs.com> <1206187799.10080.26.camel@localhost> <1206189396.10080.33.camel@localhost> <195632076.20080322195842@marcus-boerger.de> <47E5B70B.5070506@zend.com> <009901c88c89$22ce1b00$c6fc1f3e@foxbox> <47E5BB8F.6010806@zend.com> In-Reply-To: <47E5BB8F.6010806@zend.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/6333/Sat Mar 22 17:59:57 2008 on colo.lerdorf.com X-Virus-Status: Clean Subject: Re: [PHP-DEV] short_open_tag From: rasmus@lerdorf.com (Rasmus Lerdorf) Stanislav Malyshev wrote: >> I see your point... but wouldn't it be better not to need that? >> Johannes' idea seemed good to me, always assuming it's do-able. > > Well, yes, it would indeed, but we have a lot of either we allow with it I might be OK too, as IMO no valid XML would have some other syntax - in which case a) it probably would be worse than since you hardly can get shorter and "opening tag + =" is kind-of > de-facto standard for such things by now and b) it's take time to > educate people to use new syntax, especially that unlike work on PHP < 5.3 so people would stay away from it for a couple of > years (heck, people still use PHP 4 out there! not talking about 5.0). > > So we have this: > 1. Leave it as is and be in World of Configuration Pain (TM) > 2. Allow guys) I'd be ok with that too. It's not a valid PI tag, as far as I know, but I don't think that is a problem. One interesting observation is that there was a slight BC break related to short tags between PHP 4 and 5 that I hadn't noticed before. Works in PHP4 but results in a syntax error in PHP 5. -Rasmus