note 96632 deleted from function.var-export by danbrown
| From: | danbrown@php.net | Date: | Tue, 09 Mar 2010 12:34:08 +0000 |
| Subject: | note 96632 deleted from function.var-export by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-166814@lists.php.net to get a copy of this message | ||
Note Submitter: coelho dot ric at gmail dot com
----
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.