#26392 [Opn->WFx]: short_open_tag behavior change request

From: Date: Tue, 25 Nov 2003 10:13:19 +0000
Subject: #26392 [Opn->WFx]: short_open_tag behavior change request
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50975@lists.php.net to get a copy of this message
ID: 26392 Updated by: derick@php.net 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

« previous php.bugs (#50975) next »