mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00: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
14 lines
235 B
PHP
14 lines
235 B
PHP
--TEST--
|
|
Req #60524 (Specify temporary directory)
|
|
--INI--
|
|
sys_temp_dir=C:\Windows
|
|
--SKIPIF--
|
|
<?php
|
|
if(PHP_OS_FAMILY !== "Windows")
|
|
die('skip Run only on Windows');
|
|
?>
|
|
--FILE--
|
|
<?php echo sys_get_temp_dir(); ?>
|
|
--EXPECT--
|
|
C:\\Windows
|