Re: PHP 6.0 Wishlist
| From: | Ron Korving | Date: | Wed, 31 Aug 2005 13:12:51 +0000 |
| Subject: | Re: PHP 6.0 Wishlist | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18600@lists.php.net to get a copy of this message | ||
But why doesn't <?php=$foo ?> work? If that'd work, I just might start using
<?php ?>
Ron
"Rasmus Lerdorf" <rasmus@lerdorf.com> wrote in message
news:43114C03.1070902@lerdorf.com...
> Paul Reinheimer wrote:
> > My prefrerence would be for the interpreter to look for "<?\w" when
> > short tags is enabled (that was brace, question mark, white space), I
> > don't think i've ever come across an instance when a space or line
> > break wasn't used. I don't have a huge code repository handy but are
> > there any good counter examples live?
>
> Thousands. <?=$foo?> and <?echo $foo?> are both extremely common when
> injection single PHP variables into forms and general HTML sections.
>
> -Rasmus