>> Jan Lehnardt wrote:
 >> Hi,
 >> is it intended, that the ?> tag can look like whatdoyouwant?> 
und php
 >> gives no error on it? its either a bug or an undocumented 
feature. due
 >> to consistence i'd vote for allowing ?> only.
 >> Jan

I think this is intended and I don't see any problems with this.

You are suggesting to allow only "?>" tag at the beginning of line
or preceeded by spaces, right?

According to your suggestion, following code wouldn't work

<?php print "abc"?>
<?php print "abc";?>
<?php print "abc" //print abc?>
<?php print SOME_CONSTANT?>

These "?>" tag would not be end tag.
I might misunderstand what you are suggesting, though.

Yasuo Ohgaki

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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