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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Mon, 12 Jul 2004 13:03:29 +0200

The following NEW bug has been ADDED.
======================================================================
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: new
Operating System:
PHP Version: 5.0.0-dev
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2004-07-12 13:03 CEST
Last Modified: 2004-07-12 13:03 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"
======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2004-07-12 13:03tony2001 New Bug
======================================================================
Received on Mon Jul 12 2004 - 13:03:32 BST

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