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 ); print_r($errstr); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $timeout in /in/PRSZB on line 9 Warning: stream_socket_client(): php_network_getaddresses: getaddrinfo for example.com failed: System error in /in/PRSZB 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/PRSZB on line 4 php_network_getaddresses: getaddrinfo for example.com failed: System error

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