logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Bug 0000308: Var dump displaying cut strings.: msg#00061

Subject: Bug 0000308: Var dump displaying cut strings.
The following bug requires your FEEDBACK.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000308
======================================================================
Reporter:                   tachu
Handler:                    
======================================================================
Project:                    Xdebug
Bug ID:                     308
Category:                   Usage problems
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Operating System:           CentOS Release 5 (final)
PHP Version:                5.1.6
Xdebug Version:             2.0.0
======================================================================
Date Submitted:             2007-09-13 19:03 CEST
Last Modified:              2007-10-28 20:42 CET
======================================================================
Summary:                    Var dump displaying cut strings.
Description: 
When you have a string with new lines in it var dump will cut it off. This
is not related to the lenght of the string it will always cut off. For
better understanding see example below. 
======================================================================

----------------------------------------------------------------------
 tachu - 2007-09-13 19:05 CEST 
----------------------------------------------------------------------
Also consider adding more character to string at end of string actually
print out more. 

  $sql = "SELECT media_group.title, media_group.description,
media_content.url, media_content.duration,
 media_content.title AS contentTitle, media_content.description AS
contentDescription,
 media_group_thumbnail.url as thumbnailUrl FROM media_group,
media_content,media_group_thumbnail
 WHERE (14,14,44) AND media_content.media_group_id=media_group.id AND
media_group.id=media_group_thumbnail.media_group_id
 group by media_content.id asdf asdf adsf asdf asdf asdf asdf asdf asdf
asdf asdf asdf asdf asdf ";

  var_dump($sql);

outputs:
string 'SELECT media_group.title, media_group.description,
media_content.url, media_content.duration,
 media_content.title AS contentTitle, media_content.description AS
contentDescription,
 media_group_thumbnail.url as thumbnailUrl FROM media_group,
media_content,media_group_thumbnail
 WHERE (14,14,44) AND media_content.media_group_id=media_group.id AND
media_group.id=media_group_thumbnail.media_group_id
 group by media_content.id asdf asdf adsf asdf asdf asdf asdf asdf asdf
asdf asdf' (length=497)

----------------------------------------------------------------------
 derick - 2007-10-28 20:42 CET 
----------------------------------------------------------------------
I can not reproduce this at all, could you please send me a reproducing
script by mail - in a tar.gz or zip file. And also post the output of
phpinfo() somewhere?

Bug History
Date Modified  Username       Field                    Change              
======================================================================
2007-09-13 19:03tachu          New Bug                                      
2007-09-13 19:03tachu          Bug Monitored: tachu                         
2007-09-13 19:05tachu          Bugnote Added: 0000724                       
2007-10-24 14:57sjokki         Bug Monitored: sjokki                        
2007-10-28 20:42derick         Bugnote Added: 0000778                       
2007-10-28 20:42derick         Status                   new => feedback     
======================================================================




<Prev in Thread] Current Thread [Next in Thread>