Last active
September 22, 2016 10:00
-
-
Save ikariiin/794cf4ac01d298a7ee18d83535fb1ce7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php declare(strict_types = 1); | |
$socket = stream_socket_client("tcp://127.0.0.1:47806"); | |
$response = fread($socket, 1024); | |
echo "Got response: {$response}\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment