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 git.master, git.master_jit
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 rfc.property-hooks
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.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
60.27 ms | 401 KiB | 8 Q