3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = (1, 2, 3, 4, 5); $arr2 = (1, 2, 3); var_dump(array_diff($arr1, $arr2));
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ',' in /in/0K5JO on line 3
Process exited with code 255.