carbonize:
--------------------------------------------------------------------------------
Except I've had ?> in comments before and it's not ended the PHP.
--------------------------------------------------------------------------------
You're misremembering.
cite:
--------------------------------------------------------------------------------
$ cat > /tmp/test.php
<?php echo "hello\n"; // this is a comment ?>blah
$ php /tmp/test.php
hello
blah
$ cat > /tmp/test.php
<?php echo "hello\n"; /* this is a comment ?>blah*/
$ php /tmp/test.php
hello
$
--------------------------------------------------------------------------------
Inside an old K&R-style comment, the ?> still counts as part of the comment;
however single-line C++ style comments do not and as far as I remember have
never done so.
--
<http://forum.pspad.com/read.php?2,66099,66377>
PSPad freeware editor http://www.pspad.com