Skip to content

Instantly share code, notes, and snippets.

@Feiron
Last active December 16, 2021 15:28
Show Gist options
  • Save Feiron/8f575a382970f2da169e1859d2706c58 to your computer and use it in GitHub Desktop.
Save Feiron/8f575a382970f2da169e1859d2706c58 to your computer and use it in GitHub Desktop.
[sockets test] проверить конект через сокет #bitrix #centos #bitrixvm #tests
<?php
//title: SocketTest
ini_set("display_errors", true);
error_reporting(6135);
$a = fsockopen ("ssl://pub.bitrix24.site", 443, $b, $c, 5);
echo $a, $b, $c;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment