ID: 9320
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To: 
Comments:

This is not a bug, but documented behaviour.

Previous Comments:
---------------------------------------------------------------------------

[2001-02-17 12:14:46] [EMAIL PROTECTED]
See this code:

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

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

Then using a comment:

<?php
  #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... (phpinsider.com)

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9320&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
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