note 62678 deleted from function.ini-get-all by bjori
| From: | bjori@php.net | Date: | Tue, 07 Mar 2006 13:35:26 +0000 |
| Subject: | note 62678 deleted from function.ini-get-all by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104979@lists.php.net to get a copy of this message | ||
Note Submitter:
Reason: useless
----
The following block of code is shown on the print_r() function page, but I thought I'd post it
here too for the less informed (like myself). It will format the ini_get_all() output so you can
actually read it:
<?php
$inis = ini_get_all();
if (is_array($inis)) {
print('<pre>');
print_r($inis);
print('</pre>');
} else {
var_dump($inis);
}
?>