Re: System-dependent functions

From: Date: Wed, 11 Aug 2004 08:47:23 +0000
Subject: Re: System-dependent functions
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363032@lists.php.net to get a copy of this message
Another example is touch(). It requires utime which I assume all OS's have although I don't know. And if not I assume PHP might essentially say "No utime huh? Let's use mtime/atime/ctime instead and define HAVE_UTIME as true." Again, I don't know this topic of utime so am only guessing here.
AFAIR utime() is not available on Windows (?)
Opinions of the proposed entity?: <!ENTITY note.func.sysdep '<note><para>This function is system-dependent and may not be available in your copy of PHP. Use <function>function_exists</function> to be certain.</para></note>'>
This would confuse people IMHO. "System-dependant" might mean that it is OS specific (MacOS, Linux, Windows), or more fine graied, or ...? Goba

« previous php.doc (#969363032) next »