note 23116 deleted from function.stat by alindeman
| From: | alindeman@php.net | Date: | Fri, 09 May 2003 21:39:59 +0000 |
| Subject: | note 23116 deleted from function.stat by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47774@lists.php.net to get a copy of this message | ||
it's probably more readable to just use the associative key instead of the numeric index.
it'll also save you some head-scratching. for instance:
$info = stat('path/file');
echo $info[4];
echo $info['uid'];
will both output the same thing. using the print_r() function is really pretty awesome for
error-testing arrays just like this one. just be sure to surround it in <PRE> tags if you are
sending output to a browser.