3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'ABC'; $b = 'ABCDEF'; var_dump(array_diff_assoc($a, $b));
based on T5LuF
Output for 4.3.2 - 7.2.0
Warning: array_diff_assoc(): Argument #1 is not an array in /in/21RDi on line 5 NULL
Output for 4.3.0 - 4.3.1
Warning: array_diff_assoc() [http://www.php.net/function.array-diff-assoc]: Argument #1 is not an array in /in/21RDi on line 5 NULL