--TEST-- Test posix_fpathconf --EXTENSIONS-- posix --SKIPIF-- --FILE-- getMessage() . "\n"; } $fd = fopen(__DIR__, "r"); var_dump(posix_fpathconf($fd, POSIX_PC_PATH_MAX)); fclose($fd); ?> --EXPECTF-- bool(false) bool(true) posix_fpathconf(): Argument #1 ($file_descriptor) must be of type int|resource, string given int(%d)