xref: /PHP-7.1/ext/posix/tests/posix_isatty.phpt (revision 7af945e2)
1--TEST--
2posix_isatty(): Basic tests
3--SKIPIF--
4<?php
5if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
6if (!function_exists('posix_isatty')) die('skip posix_isatty() not found');
7?>
8--FILE--
9<?php
10
11var_dump(posix_isatty(0));
12
13?>
14--EXPECTF--
15bool(%s)
16