3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(array(1)); $b = array(array(2)); if (array_diff($a, $b)) { echo 'Not Matched'; } else { echo 'matched'; }
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/NF4VC on line 6 Notice: Array to string conversion in /in/NF4VC on line 6 matched
Output for 4.3.0 - 5.3.29
matched