3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = [ 'val1' => 12, 'val2' => 13, 'val3' => 14, ]; $a2 = [ 'val1' => 4, 'val2' => 5, 'val4' => 6, ]; print_r($a1, $a2);
based on mSTI9
Output for 7.3.0alpha1 - 7.3.0rc3
Warning: print_r() expects parameter 2 to be bool, array given in /in/F5BdH on line 16
Output for 5.6.0 - 5.6.30, hhvm-3.18.4 - 3.21.0, 7.0.0 - 7.2.11
Warning: print_r() expects parameter 2 to be boolean, array given in /in/F5BdH on line 16