tempnam
reactphp/event-loop
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Create file with unique file name
tempnam
(
string $directory
,
string $prefix
):
string
|
false
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