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));

preferences:
74.92 ms | 406 KiB | 5 Q