note 96632 added to function.var-export
| From: | coelhodotricatgmaildotcom at osu1 dot php dot net | Date: | Tue, 09 Mar 2010 10:52:29 +0000 |
| Subject: | note 96632 added to function.var-export | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166812@lists.php.net to get a copy of this message | ||
In response to john dot risken at gmail dot com :
I would prefer your function like this :
<?php
function pretty_var($myArray){
echo '<pre>' . var_export($myArray,true)) . '</pre>';
}
?>
It will generates faster and you will not get problems to copy since the source's page.
----
Server IP: 69.147.83.197
Probable Submitter: 192.196.142.22
----
Manual Page -- http://www.php.net/manual/en/function.var-export.php
Edit -- https://master.php.net/note/edit/96632
Del: integrated -- https://master.php.net/note/delete/96632/integrated
Del: useless -- https://master.php.net/note/delete/96632/useless
Del: bad code -- https://master.php.net/note/delete/96632/bad+code
Del: spam -- https://master.php.net/note/delete/96632/spam
Del: non-english -- https://master.php.net/note/delete/96632/non-english
Del: in docs -- https://master.php.net/note/delete/96632/in+docs
Del: other reasons-- https://master.php.net/note/delete/96632
Reject -- https://master.php.net/note/reject/96632
Search -- https://master.php.net/manage/user-notes.php