mirror of
https://github.com/php/php-src.git
synced 2025-01-02 08:54:04 +08:00
f9959ee7c2
* PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h * Values are not upper-case-first, not always uppercase. Windows is no longer just "Win", if we want the short version for testing then PHP_OS is always WINNT anyway
15 lines
269 B
PHP
15 lines
269 B
PHP
--TEST--
|
|
Test that sapi_windows_vt100_support exists only on Windows
|
|
--SKIPIF--
|
|
<?php
|
|
if(PHP_OS_FAMILY === "Windows") {
|
|
echo "skip Only for not Windows systems";
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(function_exists('sapi_windows_vt100_support'));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|