3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array('mango' => 20); $arr2 = array('apple' => 10); $arr = $arr1 + $arr2; print_r($arr); #print_r($arr1+$arr2);
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
Array ( [mango] => 20 [apple] => 10 )
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/liTUd on line 8
Process exited with code 255.