3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = Array( Array ( 0 => indian ), Array ( 0 => indian ) ); $result = call_user_func_array("array_merge", $input); var_export($result);
based on cNpo0
Output for 7.2.0 - 7.3.0rc3
Warning: Use of undefined constant indian - assumed 'indian' (this will throw an Error in a future version of PHP) in /in/uETHI on line 5 Warning: Use of undefined constant indian - assumed 'indian' (this will throw an Error in a future version of PHP) in /in/uETHI on line 9 array ( 0 => 'indian', 1 => 'indian', )
Output for hhvm-3.15.4, 7.0.0 - 7.1.20
Notice: Use of undefined constant indian - assumed 'indian' in /in/uETHI on line 5 Notice: Use of undefined constant indian - assumed 'indian' in /in/uETHI on line 9 array ( 0 => 'indian', 1 => 'indian', )
Output for 5.6.0 - 5.6.30
Notice: Use of undefined constant indian - assumed 'indian' in /in/uETHI on line 6 Notice: Use of undefined constant indian - assumed 'indian' in /in/uETHI on line 10 array ( 0 => 'indian', 1 => 'indian', )