3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = array('yo', 'yo1', 'yo3'); $arr2 = array('yo1', 'yo3'); echo array_diff($arr1,$arr2);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/Eu6Ii on line 6 Array
Output for 4.3.0 - 5.3.29
Array