[PATCH] allow T_INLINE_HTML before T_NAMESPACE
| From: | Greg Beaver | Date: | Fri, 12 Sep 2008 19:11:39 +0000 |
| Subject: | [PATCH] allow T_INLINE_HTML before T_NAMESPACE | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-40483@lists.php.net to get a copy of this message | ||
Hi,
This is a simple patch that allows files like this:
main.php:
<html>
<head>
<title>template example</title>
</head>
</html>
<body>
<?php
namespace my::template;
// stuff
?>
</body>
to work without parse error.
Greg
P.S. this is the last outstanding namespace issue that I'm aware of
aside from the bracket wars, which is 100% philosophical, all the issues
fixed by my patches are functional problems in namespaces.