1--TEST--
2Test posix_strerror() function : error conditions
3--SKIPIF--
4<?php
5    if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
6?>
7--FILE--
8<?php
9echo "*** Testing posix_strerror() : error conditions ***\n";
10
11echo "\n-- Testing posix_strerror() function with invalid error number --\n";
12$errno = -999;
13echo gettype( posix_strerror($errno) )."\n";
14
15echo "Done";
16?>
17--EXPECT--
18*** Testing posix_strerror() : error conditions ***
19
20-- Testing posix_strerror() function with invalid error number --
21string
22Done
23