note 13583 deleted from function.stat by alindeman
| From: | alindeman@php.net | Date: | Sat, 24 May 2003 20:51:32 +0000 |
| Subject: | note 13583 deleted from function.stat by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48952@lists.php.net to get a copy of this message | ||
Note Submitter: scott@graphictype.com
----
Remember that arrays are numbered from 0, whereas this document page is numbered from 1.
$s = stat($file);
$bytes = $s[7];
*not* $s[8], as you might think from quickly glancing at the list of elements that stat() returns.