posix_mknod
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Create a special or ordinary file (POSIX.1)
<?php posix_mknod
(
string $filename
,
int $flags
,
int $major
=
0
,
int $minor
=
0
):
bool