3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $your_array = array(0 =>array("codes"=>array(7,4,5)), 1 =>array("codes"=>array(4,45,1))); foreach ($your_array as $array){ foreach ($array as $e){ echo $e; } } //$ar1 = array (1002, 100, 100); //array_multisort ($ar1); //var_dump($ar1);
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/ar5HC on line 7 Array Notice: Array to string conversion in /in/ar5HC on line 7 Array
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.3.29
ArrayArray
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/ar5HC on line 19
Process exited with code 255.