Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/azjezz/psl/src/Psl/Unix/Server.php
Назад
<?php declare(strict_types=1); namespace Psl\Unix; use Psl\Network; use Psl\OS; final class Server extends Network\Internal\AbstractStreamServer { /** * Create a bound and listening instance. * * @param non-empty-string $file * * @throws Network\Exception\RuntimeException In case failed to listen to on given address. */ public static function create(string $file): self { // @codeCoverageIgnoreStart if (OS\is_windows()) { throw new Network\Exception\RuntimeException('Unix server is not supported on Windows platform.'); } // @codeCoverageIgnoreEnd $socket = Network\Internal\server_listen("unix://{$file}"); return new self($socket); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка