3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $source_packages = array( 'two' => array ('param1' => 'First Parameter for Two', 'param2' => 'Second Parameter for Two') ); $result_packages = array_diff_assoc(array('a' => array('b' => 'c')), array('a' => array('b' => 'c'))); var_dump($result_packages); echo "<br />\n";
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/1PsrC on line 6 Notice: Array to string conversion in /in/1PsrC on line 6 array(0) { } <br />
Output for 4.3.0 - 5.3.29
array(0) { } <br />