3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array('foo','foo','bar'); $y = array_unique($x); $z = array_diff($x,$y); ?>
Output for 4.3.0 - 7.1.0