3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = 'test'; $password = 'test'; $streamContext = []; $streamContext['ssl'] = [ 'ciphers' => 'RC4-SHA', 'verify_peer' => false, 'verify_peer_name' => false ]; if (!empty($username) && !empty($password) ) { $streamContext['http'] = [ 'header' => "Authorization: Basic " . base64_encode("$username:$password") ]; } var_dump($streamContext);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["ssl"]=> array(3) { ["ciphers"]=> string(7) "RC4-SHA" ["verify_peer"]=> bool(false) ["verify_peer_name"]=> bool(false) } ["http"]=> array(1) { ["header"]=> string(33) "Authorization: Basic dGVzdDp0ZXN0" } }

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