3v4l.org

run code in 300+ PHP versions simultaneously
<?php $socket_context = stream_context_create($options = array()); $socket = stream_socket_client ( 'example.com' . ":" . 80, $errno, $errstr, $timeout, STREAM_CLIENT_CONNECT, $socket_context ); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $timeout in /in/dslKl on line 9 Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo for example.com failed: System error in /in/dslKl on line 4 Warning: stream_socket_client(): Unable to connect to example.com:80 (php_network_getaddresses: getaddrinfo for example.com failed: System error) in /in/dslKl on line 4

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:
35.63 ms | 402 KiB | 8 Q