PHP 4.0 Bug #7633 Updated: NULL-bytes cause fundamental problems in string processing
| From: | waldschrott@php.net | Date: | Sat, 04 Nov 2000 00:16:27 +0000 |
| Subject: | PHP 4.0 Bug #7633 Updated: NULL-bytes cause fundamental problems in string processing | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37050@lists.php.net to get a copy of this message | ||
ID: 7633
Updated by: waldschrott
Reported By: burwitz@mails-media.de
Status: Duplicate
Bug Type: *General Issues
Assigned To:
Comments:
it is sufficient to post it once,
duplicate
Previous Comments:
---------------------------------------------------------------------------
[2000-11-03 19:07:54] burwitz@mails-media.de
Thank you for your help on Bug id #7621 but it really doesn't work,
here an example.
The following Source:
<html>
<?
$a ="abc".chr(0)."def";
$b ="123".chr(0)."456";
$a .=b;
echo strlen($a);
echo "X".$a."X";
?>
</html>
PHP4.0.3pl1 with MySQL and Sablotron under Linux results
in:
<html>
8Xabc</html>
Where the result should look like:
<html>
14Xabc0def1230456</html>
I hope someone can help.
Thanks
V. Burwitz
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7633