#45882 [Opn->Bgs]: echo '<pre>'.var_dump($this->db); prints only array :)

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45882
 Updated by:       [email protected]
 Reported By:      shock at spamavert dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Windows / nix
 PHP Version:      5.3.0alpha1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Please see the documentation of var_dump, without the second parameter
it will automatically send the dump to the output buffer, return
*nothing*, append *nothing* to '<pre>' and THEN output that.

All expected behaviour.


Previous Comments:
------------------------------------------------------------------------

[2008-08-21 16:16:13] shock at spamavert dot com

Description:
------------
When i try to use this contruct:

<?php
  echo '<pre>'.var_dump($db);
?>

then its doing same that:
<?php
  var_dump($db);
?>

but 
<?php
  echo '<pre>';var_dump($db);
?>

Work fine :)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45882&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.