ID: 44025 Updated by: [EMAIL PROTECTED] Reported By: gmazzy at gmail dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows PHP Version: 5.2.5 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. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. You should check your script, it is not bug at all. Previous Comments: ------------------------------------------------------------------------ [2008-02-02 18:26:11] gmazzy at gmail dot com Description: ------------ Hi, I'm running PHP 5.2.5, on Latest Apache alone. I've enable only mysql extension, I've in php.ini short_open_tag = Off, I'd like to output text into xml so when I declare a string "<?xml version=\"1.0\"\x3F>\n"; I've escaped the " by the manual but it's not working, even $xml = "<"; echo $xml; don't works too. Why ? I think that it's a bug. Reproduce code: --------------- <?php include "mysql_login.php"; @mysql_connect($host, $user, $pwd) or die("Could not connect to MySQL server!\n"); @mysql_select_db($db) or die("Could not select database!"); $query = "SELECT * FROM route WHERE linea=8 ORDER BY vertex"; $result = mysql_query($query); $xml = "<?xml version=\"1.0\"\x3F>\n"; echo $xml; ?> Expected result: ---------------- <?xml version="1.0"?> Actual result: -------------- Nothing ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44025&edit=1
