Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18546 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22132 invoked by uid 1010); 30 Aug 2005 04:55:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22116 invoked from network); 30 Aug 2005 04:55:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2005 04:55:47 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:43313] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3B/08-15098-2D6E3134 for ; Tue, 30 Aug 2005 00:55:47 -0400 Received: (qmail 25473 invoked from network); 30 Aug 2005 04:55:42 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 30 Aug 2005 04:55:42 -0000 Message-ID: <6.2.3.4.2.20050829215530.03989c10@localhost> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Mon, 29 Aug 2005 21:55:50 -0700 To: "Sara Golemon" ,"Gabor Hojtsy" Cc: In-Reply-To: <00cd01c5acd6$591f27c0$5c8be5a9@ohr.berkeley.edu> References: <43135638.4050100@hojtsy.hu> <00cd01c5acd6$591f27c0$5c8be5a9@ohr.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Re: omitting T_CLOSE_TAG From: andi@zend.com (Andi Gutmans) It is quite intentional and will stick around forever :) Andi At 01:14 PM 8/29/2005, Sara Golemon wrote: > > I am searching for some evidence in the PHP source code that the > > possibility of omitting the closing PHP tag is absolutely intentional, > > and in fact part of the language syntax, and therefore it is going to be > > supported indefinitely. Digging for T_CLOSE_TAG and similar stuff have > > lead me to nothing. > > >I can't imagine a situation where that level of BC breakage would *EVER* be >permitted. In fact, last I heard it was recommended practice for PEAR files >to omit the end tag. > >I suppose it might accidently break if include were ever shifted to C style >inclusion, but that breakage would wind up being considered a bug in the >"new feature" and could be easily fixed by automatically reseting the lexer >state before and after the include statement. > > > Actually I would like to clarify and possibly extend the note on page: > > http://php.net/manual/en/basic-syntax.instruction-separation > > >An example might be helpful... >"" and "by PHP. > >-Sara > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php