But why doesn't <?php=$foo ?> work? If that'd work, I just might start using <?php ?>
Ron "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php