3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function imageFilename($arr) { return $arr; } var_dump(array(1) + array(2)); var_dump(array_filter(array_map('imageFilename', array(2))) + array(1));
Output for 4.3.0 - 7.1.0
array(1) { [0]=> int(1) } array(1) { [0]=> int(2) }