[xdebug-dev] Bug 0000075: xdebug's var_dump implementation is not binary safe

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 3 Aug 2004 22:47:45 +0200

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000075
======================================================================
Reporter: tony2001
Handler:
======================================================================
Project: Xdebug
Bug ID: 75
Category: Usage problems
Reproducibility: always
Severity: trivial
Priority: normal
Status: closed
Operating System:
PHP Version: 5.0.0-dev
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2004-07-12 13:03 CEST
Last Modified: 2004-08-03 22:47 CEST
======================================================================
Summary: xdebug's var_dump implementation is not binary safe
Description:
XDebug's var_dump stops dumping after first \0.
Reproduce script:
<?php
var_dump ("test\0test");
?>

this code prints:
<pre><font color='#bb00bb'>'test'</font></pre>

without xdebug it will print:
string(9) "test\0test"
======================================================================

----------------------------------------------------------------------
 derick - 2004-08-03 22:47 CEST
----------------------------------------------------------------------
This is now fixed in CVS (2.0-dev only).

Bug History
Date Modified Username Field Change
======================================================================
2004-07-12 13:03tony2001 New Bug
2004-08-03 22:47derick Bugnote Added: 0000168
2004-08-03 22:47derick Status new => closed
======================================================================
Received on Tue Aug 03 2004 - 22:47:51 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST