3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('default_socket_timeout', -1); $fp = stream_socket_client("tls://echo.websocket.org", $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { fwrite($fp, "GET / HTTP/1.0\r\nHost: www.example.com\r\nAccept: */*\r\n\r\n"); while (!feof($fp)) { echo fgets($fp, 1024); } fclose($fp); }
Output for git.master, git.master_jit
Warning: stream_socket_client(): Unable to connect to tls://echo.websocket.org (Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?) in /in/hKDBE on line 5 Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP? (32765)<br />
Output for rfc.property-hooks
Warning: stream_socket_client(): Unable to connect to tls://echo.websocket.org (Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?) in /in/hKDBE on line 5 Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP? (32764)<br />

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:
54.03 ms | 401 KiB | 8 Q