[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
kmspico
/
release
/
[
Home
]
File: posix_isatty_value_errors.phpt
--TEST-- posix_isatty(): errors for invalid file descriptors --EXTENSIONS-- posix --SKIPIF-- <?php if (PHP_INT_SIZE != 8) die('skip C int is same size as zend_long'); ?> --FILE-- <?php $values = [ -1, 10024, 2**50+1, ]; foreach ($values as $value) { var_dump(posix_isatty($value)); var_dump(posix_strerror(posix_get_last_error())); } ?> --EXPECT-- bool(false) string(19) "Bad file descriptor" bool(false) string(19) "Bad file descriptor" bool(false) string(19) "Bad file descriptor"