Re: Filesystem patches

From: Date: Thu, 02 Mar 2000 16:43:28 +0000
Subject: Re: Filesystem patches
References: 1 2 3 4  Groups: php.dev php.version4 
Request: Send a blank email to php-version4+get-11364@lists.php.net to get a copy of this message
Sevo Stille wrote: > > Faisal Nasim wrote: > > > Its same as stat(), since it uses the same struct..... ? > > Which would be? Stat returns different results on different > architectures - IRIX and the BSDs for example have extra microtiming > fields outside of a POSIX context, and have some file system and block > info dangling at the end of the struct. Restricting it to the POSIX stat > struct might be a compromise, but returning a named array would make > matters easier, especially for non-Unix ports. It is just a matter of documentation. If different OSes have different fields, it is all the more reason to use string indexes. If $stat["foo"] === null, it's not supported. - Stig

« previous php.version4 (#11364) next »