Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18534 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41341 invoked by uid 1010); 29 Aug 2005 20:15:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41325 invoked from network); 29 Aug 2005 20:15:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2005 20:15:12 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:1224] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 18/F5-15098-0DC63134 for ; Mon, 29 Aug 2005 16:15:12 -0400 Received: from localhost ([127.0.0.1] helo=peiscg33m) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1E9pOY-0003K6-00; Mon, 29 Aug 2005 12:34:14 -0700 Message-ID: <00cd01c5acd6$591f27c0$5c8be5a9@ohr.berkeley.edu> Reply-To: "Sara Golemon" To: "Gabor Hojtsy" Cc: References: <43135638.4050100@hojtsy.hu> Date: Mon, 29 Aug 2005 13:14:46 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: omitting T_CLOSE_TAG From: pollita@php.net ("Sara Golemon") > 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 "