3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var1 = array(213, 247, 221, 247, 220, 214, 203, 233, 330, 212, 238, 214, 213, 247, 221, 247, 220, 214, 203, 233); $var2 = array(307, 357, 319, 357, 317, 308, 293, 336, 476, 306, 343, 308, 307, 357, 319, 357, 317, 308, 293, 336); echo array_diff($var1, $var2);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/t9vp8 on line 7 Array
Output for 4.3.0 - 5.3.29
Array