#33289 [Opn->WFx]: short_open_tag behaviour suggestion

From: Date: Fri, 10 Jun 2005 09:29:59 +0000
Subject: #33289 [Opn->WFx]: short_open_tag behaviour suggestion
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80123@lists.php.net to get a copy of this message
ID: 33289 Updated by: tony2001@php.net Reported By: shurikk at mail dot ru -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: any PHP Version: 4.3.11 New Comment: No, this won't be changed. Read detailed explanation why in bug #26392. Previous Comments: ------------------------------------------------------------------------ [2005-06-09 23:26:54] shurikk at mail dot ru Description: ------------ just a suggestion for short_open_tag When it's ON, can parser ignore everything that is not "<?php", "<?=", "<? " i.e. like <?xml, <?blah ... etc. and allow things like <?= work as designed this is similar to bug/suggestion #26392 see example Thanks Reproduce code: --------------- file: data.xml <?xml version="1.0" ?> <data> <test><?=$value?></test> </data> file data.php $value = 5; include('data.xml'); // error Expected result: ---------------- xml output with xml header Actual result: -------------- parser error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33289&edit=1

« previous php.bugs (#80123) next »