3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vt_ip = "68.8.11.202"; // Server IP $vt_port = "27015"; // Port $output = @fsockopen("udp://$vt_ip", $vt_port, $errno, $errstr, 0.25); @socket_set_timeout($output, 1); @socket_set_blocking($output, 1); @fwrite($output, "\xFF\xFF\xFF\xFF\x54\x53\x6F\x75\x72\x63\x65\x20\x45\x6E\x67\x69\x6E\x65\x20\x51\x75\x65\x72\x79\x00"); $buffer = @fread($output, 4096); if (!$buffer) { $cache_file = "http://cur.pimpmyspace.org/cursors/online/31d5db52e529eea672be9ba5ebfa2c12.gif"; } else { $cache_file = "http://cur.pimpmyspace.org/cursors/online/6351473e988e557edd4e723c15c5b968.gif"; } @fclose($output); header("Content-Type: image/jpeg"); // header("Content-Length: ".filesize($cache_file)); $cache = fopen($cache_file,"r"); fpassthru($cache); fclose($cache); exit; ?>
Output for 8.3.0 - 8.3.4, 8.3.6
Fatal error: Uncaught TypeError: socket_set_timeout(): Argument #1 ($stream) must be of type resource, false given in /in/SIlFn:6 Stack trace: #0 /in/SIlFn(6): socket_set_timeout(false, 1) #1 {main} thrown in /in/SIlFn on line 6
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Fatal error: Uncaught TypeError: socket_set_timeout(): Argument #1 ($stream) must be of type resource, false given in /in/SIlFn:6 Stack trace: #0 /in/SIlFn(6): socket_set_timeout(false, 1) #1 {main} thrown in /in/SIlFn on line 6
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Fatal error: Uncaught TypeError: socket_set_timeout(): Argument #1 ($stream) must be of type resource, bool given in /in/SIlFn:6 Stack trace: #0 /in/SIlFn(6): socket_set_timeout(false, 1) #1 {main} thrown in /in/SIlFn on line 6
Process exited with code 255.
Output for 7.3.32 - 7.3.33, 7.4.0, 7.4.26 - 7.4.33
Warning: fopen(): php_network_getaddresses: getaddrinfo failed: System error in /in/SIlFn on line 24 Warning: fopen(http://cur.pimpmyspace.org/cursors/online/31d5db52e529eea672be9ba5ebfa2c12.gif): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/SIlFn on line 24 Warning: fpassthru() expects parameter 1 to be resource, bool given in /in/SIlFn on line 25 Warning: fclose() expects parameter 1 to be resource, bool given in /in/SIlFn on line 26
Output for 7.3.16 - 7.3.31, 7.4.3 - 7.4.25
Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/SIlFn on line 24 Warning: fopen(http://cur.pimpmyspace.org/cursors/online/31d5db52e529eea672be9ba5ebfa2c12.gif): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/SIlFn on line 24 Warning: fpassthru() expects parameter 1 to be resource, bool given in /in/SIlFn on line 25 Warning: fclose() expects parameter 1 to be resource, bool given in /in/SIlFn on line 26
Output for 7.2.29 - 7.2.33
Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/SIlFn on line 24 Warning: fopen(http://cur.pimpmyspace.org/cursors/online/31d5db52e529eea672be9ba5ebfa2c12.gif): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/SIlFn on line 24 Warning: fpassthru() expects parameter 1 to be resource, boolean given in /in/SIlFn on line 25 Warning: fclose() expects parameter 1 to be resource, boolean given in /in/SIlFn on line 26
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.31, 7.1.0 - 7.1.23, 7.2.0 - 7.2.11
Warning: fopen(): php_network_getaddresses: getaddrinfo failed: System error in /in/SIlFn on line 24 Warning: fopen(http://cur.pimpmyspace.org/cursors/online/31d5db52e529eea672be9ba5ebfa2c12.gif): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/SIlFn on line 24 Warning: fpassthru() expects parameter 1 to be resource, boolean given in /in/SIlFn on line 25 Warning: fclose() expects parameter 1 to be resource, boolean given in /in/SIlFn on line 26

preferences:
257.92 ms | 403 KiB | 332 Q