Re: [PHP4BETA] Filesystem patches
| From: | Stig S. Bakken | Date: | Thu, 02 Mar 2000 16:32:06 +0000 |
| Subject: | Re: [PHP4BETA] Filesystem patches | ||
| References: | 1 | Groups: | php.dev php.version4 |
| Request: | Send a blank email to php-version4+get-11358@lists.php.net to get a copy of this message | ||
Faisal Nasim wrote:
>
> Hi,
>
> Tested under Linux RH60..... (php4b4pl1)
>
> New functions:
> * ftruncate()
> * fstat()
>
> (int) ftruncate ( int fp , long size );
> (array) fstat ( int fp );
>
> This is my tiny contribution to the PHP project!
Thanks for the patch. I have one suggestion though, change the format
of the returned array to this (instead of numerical indexes):
array(
"dev" =>
"ino" =>
"mode" =>
...and so on...
)
How does this sound?
- Stig