#44025 [Opn->Bgs]: It's impossible to print "<" string,
| From: | msaraujo@php.net | Date: | Sat, 02 Feb 2008 19:01:45 +0000 |
| Subject: | #44025 [Opn->Bgs]: It's impossible to print "<" string, | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121908@lists.php.net to get a copy of this message | ||
ID: 44025
Updated by: msaraujo@php.net
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