3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://stof.notk.org/'; $context = stream_context_create(array( 'http' => array('timeout' => 60) )); $fp = @fopen($url, 'r', false); if (false === $fp) { throw new Exception("Unable to connect ! "); } stream_set_blocking($fp, 1); stream_set_timeout($fp, 60); stream_socket_shutdown($fp, STREAM_SHUT_WR); $result = stream_get_contents($fp); fclose($fp); var_dump($result);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Exception: Unable to connect ! in /in/e2ZKl:12 Stack trace: #0 {main} thrown in /in/e2ZKl on line 12
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:
39.78 ms | 401 KiB | 8 Q