File manager - Edit - /opt/alt/tests/alt-php80-pecl-gearman_2.1.4-1.el8/tests/skipifconnect.inc
Back
<?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); require_once('connect.inc'); $sock = @fsockopen($host, $port); if ($sock === false) { die("skip unable to connect"); } $command = "getpid\n"; if (fwrite($sock, $command) !== strlen($command)) { die("skip unable to write getpid"); } if (fread($sock, 8) === false) { die("skip unable to read pid"); } fclose($sock);
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.59 |
proxy
|
phpinfo
|
Settings