mirror of
https://github.com/php/php-src.git
synced 2026-03-25 08:42:29 +01:00
* 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
256 B
PHP
15 lines
256 B
PHP
--TEST--
|
|
Req #60524 (Specify temporary directory)
|
|
--INI--
|
|
sys_temp_dir=/path/to/temp/dir
|
|
--SKIPIF--
|
|
<?php
|
|
if(PHP_OS_FAMILY === "Windows") {
|
|
die('skip non-windows only test');
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php echo sys_get_temp_dir(); ?>
|
|
--EXPECT--
|
|
/path/to/temp/dir
|