ID: 26392
Updated by: [EMAIL PROTECTED]
Reported By: cliff at a-cro dot net
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.3.4
New Comment:
That's exactly why you can turn those short tags off... If you can not
use them, then you also cannot use <?=... and that won't change.
Previous Comments:
------------------------------------------------------------------------
[2003-11-24 23:04:17] cliff at a-cro dot net
Description:
------------
There should be another setting in php.ini so that short_open_tag
differentiates between
<? print('Hi!') ?>
and
<?= 'Hi!' ?>
It should be useful to disable the <? tag as otherwise PHP will attempt
to parse
<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-REC.css"
type="text/css"?>
which is undesired behaviour.
One way to counter the above mentioned problem would be to echo
'<?xml-stylesheet href="http://www.w3.org/StyleSheets/TR/W3C-REC.css"
type="text/css"?>' but having the ability to disable <? would be nice.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26392&edit=1