summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_isatty.phpt
blob: 0b40dd1d438c840ea4b0d1d709ec5a29862f6aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
posix_isatty(): Basic tests
--SKIPIF--
<?php
if (!extension_loaded('posix')) die('skip - POSIX extension not loaded'); 
if (!function_exists('posix_isatty')) die('skip posix_isatty() not found');
?>
--FILE--
<?php

var_dump(posix_isatty(0));

?>
--EXPECTF--
bool(%s)