#26269 [Opn->Bgs]: php closing tag not required
ID: 26269
Updated by: magnus@php.net
Reported By: kgreene at i2intl dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: ALL
PHP Version: 4.3.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Expected behavior.
Previous Comments:
------------------------------------------------------------------------
[2003-11-15 20:24:32] kgreene at i2intl dot com
Description:
------------
The closing php tag, ?>, doesn't seem to be required. Is it a bug or a
feature? I consider it to be a feature since php has operated this way
as long as I have been using it, but a contemporary considers it to be
a bug, since it is not documented. I agree with him somewhat, but only
on the fact that it does not appear to be documented anywhere whether
this is acceptable or not.
Reproduce code:
---------------
<?
echo "Hello World!";
Expected result:
----------------
Hello World!
Actual result:
--------------
Hello World!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26269&edit=1
Thread (2 messages)