Re: [PATCH] allow T_INLINE_HTML before T_NAMESPACE

From: Date: Sat, 13 Sep 2008 00:34:54 +0000
Subject: Re: [PATCH] allow T_INLINE_HTML before T_NAMESPACE
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-40496@lists.php.net to get a copy of this message
Hi, On Fri, 2008-09-12 at 14:11 -0500, Greg Beaver wrote: > This is a simple patch that allows files like this: > > main.php: > > <html> [...] > <?php > namespace my::template; > // stuff > ?> I'd prefer: main.php: <?php namespace foo; ?> <html> <!-- ... --> <?php //stuff ?> </html> looks cleaner imo. johannes

« previous php.internals (#40496) next »