Bug #17543 Updated: non-printable characters are converted to spaces when printing
| From: | sniper@php.net | Date: | Tue, 04 Jun 2002 21:59:31 +0000 |
| Subject: | Bug #17543 Updated: non-printable characters are converted to spaces when printing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9502@lists.php.net to get a copy of this message | ||
ID: 17543
Updated by: sniper@php.net
Reported By: sergiym@rireg.com
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: FreeBSD 4.5
PHP Version: 4.2.0
New Comment:
Please try the latest CVS snapshot from http://snaps.php.net/ as
I
can't reproduce this.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-05-31 10:26:29] sergiym@rireg.com
in PHP 4.06:
<?php
echo "<hr>";
echo ":\0:";
echo "<hr>";
print ":\0:";
echo "<hr>";
?>
produces
<hr>
: (0x3A 0x00 0x3A)
<hr>
: (0x3A 0x00 0x3A)
<hr>
but in PHP 4.2.0 it
produces
<hr>
: : (0x3A 0x20 0x3A)
<hr>
: : (0x3A 0x20 0x3A)
<hr>
why it is so? and how can I print non-printable characters like \0 via
PHP?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17543&edit=1