Bug #17543 Updated: non-printable characters are converted to spaces when printing

From: Date: Fri, 05 Jul 2002 05:00:07 +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-13171@lists.php.net to get a copy of this message
ID: 17543 Updated by: php-bugs@lists.php.net Reported By: sergiym@rireg.com -Status: Feedback +Status: No Feedback Bug Type: *General Issues Operating System: FreeBSD 4.5 PHP Version: 4.2.0 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-06-04 17:59:31] sniper@php.net Please try the latest CVS snapshot from http://snaps.php.net/ as I can't reproduce this. --Jani ------------------------------------------------------------------------ [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

« previous php.bugs (#13171) next »