summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_isatty.phpt
blob: 011a636e645707542f64e00d96cf2d9334153f3b (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)