From:             [EMAIL PROTECTED]
Operating system: win2k
PHP version:      4.0.3pl1
PHP Bug Type:     Scripting Engine problem
Bug description:  ?> is always the last (even in strings!!!)

See this code:

  echo "<?php echo 'test'; ?>";

This works good. And prints:
<?php echo 'test'; ?>
which it should print.

Then using a comment:

  #echo "<?php echo 'test'; ?>";

This prints: 



The ?> is recognized in the string, although
it should not be recognized I think!!!

This is a problem if you generate php pages,
as Smarty does for expample... (

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to