mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
16 lines
274 B
PHP
16 lines
274 B
PHP
--TEST--
|
|
posix_isatty(): Basic tests
|
|
--SKIP--
|
|
<?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)
|