3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_diff(array(2,3,5), array(1,2,3,4)));
based on JNF66
Output for 5.3.22 - 7.3.0rc4
array(1) { [2]=> int(5) }