3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a1 = array(2,array()); $a2 = array(2,4); $b = array_diff_assoc($a1, $a2); //var_dump($b);
based on qVgdk
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/IS7T8 on line 5
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.3.29
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/IS7T8 on line 6
Process exited with code 255.