2 Test posix_strerror() function : error conditions
5 if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
9 /* Prototype : proto string posix_strerror(int errno)
10 * Description: Retrieve the system error message associated with the given errno.
11 * Source code: ext/posix/posix.c
15 echo "*** Testing posix_strerror() : error conditions ***\n";
17 echo "\n-- Testing posix_strerror() function with invalid error number --\n";
19 echo gettype( posix_strerror($errno) )."\n";
24 *** Testing posix_strerror() : error conditions ***
26 -- Testing posix_strerror() function with invalid error number --