sys_get_temp_dir
reactphp/event-loop
Supported Versions: PHP 5 >= 5.2.1, PHP 7, PHP 8
Returns directory path used for temporary files
sys_get_temp_dir
():
string
if (
'Linux'
===
PHP_OS
) {
$this
->
fifoPath
=
tempnam
(
sys_get_temp_dir
(),
'react-'
);
unlink
(
$this
->
fifoPath
);
tests/ExtEventLoopTest.php
return
parent
::
createStream
();
}
$this
->
fifoPath
=
tempnam
(
sys_get_temp_dir
(),
'react-'
);
unlink
(
$this
->
fifoPath
);
tests/ExtLibeventLoopTest.php