Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68576 invoked from network); 21 Mar 2008 21:02:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2008 21:02:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=steph@zend.com; spf=permerror; sender-id=softfail Authentication-Results: pb1.pair.com header.from=steph@zend.com; sender-id=softfail Received-SPF: error (pb1.pair.com: domain zend.com from 64.97.136.172 cause and error) X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 64.97.136.172 smtpout0172.sc1.he.tucows.com Solaris 8 (1) Received: from [64.97.136.172] ([64.97.136.172:55351] helo=n082.sc1.he.tucows.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/DD-26785-57224E74 for ; Fri, 21 Mar 2008 16:02:46 -0500 Received: from sc1-out09.emaildefenseservice.com (64.97.139.2) by n082.sc1.he.tucows.com (7.2.069.1) id 4769FAD400EE698B; Fri, 21 Mar 2008 21:01:53 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,98e0253d6b4f2f08,b35dec7e800aa2b5,steph@zend.com,-,RULES_HIT:355:379:539:540:541:542:543:567:599:601:945:988:989:1155:1156:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1540:1587:1593:1594:1711:1730:1747:1766:1792:2073:2075:2078:2393:2559:2562:2828:3027:3352:3622:3865:3866:3867:3868:3869:3870:3872:3873:3874:4250:5007:6119:6261:7653:7875:7903,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:none, DNSBL:none X-Spamcatcher-Explanation: Received: from foxbox (62-31-252-198.cable.ubr07.shef.blueyonder.co.uk [62.31.252.198]) (Authenticated sender: steph.fox) by sc1-out09.emaildefenseservice.com (Postfix) with ESMTP; Fri, 21 Mar 2008 21:01:50 +0000 (UTC) Message-ID: <016f01c88b96$e5ba82a0$c6fc1f3e@foxbox> Reply-To: "Steph Fox" To: "Stanislav Malyshev" , Cc: "Marcus Boerger" , "'PHP Internals'" References: <47E3F714.60302@zend.com> <883216194.20080321193140@marcus-boerger.de> <47E40848.1060103@zend.com> <47E40C3F.8040601@sci.fi> <47E40E6E.5030103@zend.com> <47E410C6.80605@sci.fi> <47E4170A.2000306@zend.com> Date: Fri, 21 Mar 2008 21:02:36 -0000 Organization: Zend Technologies MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] short_open_tag From: steph@zend.com ("Steph Fox") Hi Stas, > In 99.999% of cases you'd get parse error on first line of the file. I have yet to see any other context where short tags > wouldn't work. So I don't see - what exactly would "not work or misbehave" > without giving an error? Can you produce any example of application or > other real code that would silently misbehave with short tags on but > behave OK with short tags off? I had at least five PHP/XML applications that did just that during the PHP 5 coding contest at Zend back in 5.0 days... Zeev asked me at the time to explain it more fully, and I sincerely regret never having made the time to look into it properly. And no I don't still have those applications on my laptop. Sorry. But it's as a result of working on that contest that I'm against short-tags full stop - I still think they should've been deprecated from 5.0 on. Not good evidence I know, but that's my tuppence-worth on the subject. - Steph