3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $result = array_diff_assoc(array('key' => array('foo')), array('key' => array())); var_dump($result);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/NN6eR on line 4 Notice: Array to string conversion in /in/NN6eR on line 4 array(0) { }
Output for 4.3.0 - 5.3.29
array(0) { }