PHP - 使用XML时解析错误

I have parse error: parse error in /Users/.._1.php on line 4, when-ever i use this following line:

var labelXml = "<?xml version=1.0 encoding=utf-8?>";

enter image description hereenter image description here

Short open tag was always switched off:

enter image description here

The problem comes from the "< ? ? >" of your var...

I've tested it on my server and i got the same problem

couldn't you use something like this ?

var labelXml = "&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;";

Hope this will help :)