note 35466 added to function.var-dump
| From: | adamaig at cat dot pdx dot edu | Date: | Tue, 02 Sep 2003 02:32:12 +0000 |
| Subject: | note 35466 added to function.var-dump | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55454@lists.php.net to get a copy of this message | ||
it would be super cool if this hadn't taken so long to figure out, so i'll post it here,
then post my bug report.
if you use var_dump($foo) or var_export($foo, true) to see the status of your vars there is an odd
behavior under the following code:
echo "this is foo".var_dump($foo);
the resulting printout will be
*********************
{the contents of $foo with type info}
this is foo
*********************
as is apparent the contents is dumped above and before the echo'd text.
----
Manual Page -- http://www.php.net/manual/en/function.var-dump.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35466
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35466&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35466&report=yes