run code in 150+ php & hhvm versions
Bugs & Features
<?php $address=""; $port=9875; echo "I am here"; set_time_limit (0); if(false==($socket= socket_create(AF_INET,SOCK_STREAM, SOL_TCP))) { echo "could not create socket"; } socket_bind($socket, $address, $port) or die ("could not bind socket"); socket_listen($socket); if(($client=socket_accept($socket))) echo "client is here"; sleep(60); socket_close($socket); ?>

Abusive script

This script was stopped while abusing our resources

Output for 5.4.0 - 5.4.45
I am here Fatal error: Call to undefined function socket_create() in /in/VCSqf on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.29
I am here
Process exited with code 137.