Re: short_open_tag
| From: | Rasmus Lerdorf | Date: | Thu, 17 Oct 2002 16:49:36 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89672@lists.php.net to get a copy of this message | ||
> On Thu, Oct 17, 2002 at 09:43:02AM -0700, Rasmus Lerdorf wrote:
> > My main worry with such a hack would be breaking a script like this:
> >
> > <?php
> > function xml() {
> > echo "Hello World";
> > }
> > ?>
> > ...
> > <?xml ()?>
> > ...
>
> The hadler I suggest will no break any old code. Even
> <?xml_php_function_that_starts_with_xml(); ?> will continue to work.
> It would only trigger on <?xml[whitespace].
<?xml ()?> has whitespace.