3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = [127, 10, 20, 11]; $a2 = [8, 10, 30, 11]; print_r array_diff_assoc($a1, $a2); ?>
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'array_diff_assoc' (T_STRING) in /in/3i23X on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[' in /in/3i23X on line 2
Process exited with code 255.