MantisBT - Xdebug
View Issue Details
0000298XdebugUsage problems (Wrong Results)public2007-07-20 15:022007-07-20 15:53
ava 
 
normaltrivialalways
closedopen 
 
 
GNU/Linux 2.6.9-22.EL #1 SMP ia64
5.2.1
0000298: xdebug_var_dump & multiline strings
Reproduse code:
<?php
$sql = "select * \n table from \nwhere condition";
xdebug_var_dump($sql);
?>
------------
Expected:
string 'select *
 table from
where condition' (length=38)
------------
Got:
string 'select *
 table from
where c' (length=38)
xdebug.var_display_max_children: 128
xdebug.var_display_max_data: 512
xdebug.var_display_max_depth: 4
No tags attached.
Issue History
2007-07-20 15:02avaNew Issue
2007-07-20 15:53derickStatusnew => closed
2007-07-20 15:53derickNote Added: 0000703
2016-07-31 13:36derickCategoryUsage problems => Usage problems (Crashes)
2016-07-31 13:38derickCategoryUsage problems (Crashes) => Usage problems (Wrong Results)

Notes
(0000703)
derick   
2007-07-20 15:53   
Fixed in CVS, thanks for your report.