3v4l.org

run code in 300+ PHP versions simultaneously
<?php $default = [ 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false, ], ]; $override = [ 'ssl' => [ 'verify_peer' => true, 'verify_peer_name' => true, ], ]; print_r(array_merge_recursive($default, $override)); print_r(array_replace_recursive($default, $override));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [ssl] => Array ( [verify_peer] => Array ( [0] => [1] => 1 ) [verify_peer_name] => Array ( [0] => [1] => 1 ) ) ) Array ( [ssl] => Array ( [verify_peer] => 1 [verify_peer_name] => 1 ) )

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.31 ms | 406 KiB | 5 Q