> Parsing ends with ?> regardless if its a comment or not but its not > context sensitive. It can't understand that its within a string. > > - S
Not exactly, it's only // comment style does not comment the tag while /* */
does.
The following script outputs its 'afafa':
<?php
if(true){
/* echo '<?php date('Y-m-d H:i:s'); ?>'; */
echo 'afafa';
}
?>
-j
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
