3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array( 'permissions2', 'this2', 'test'); $toost = array('permissions2', 'test', 'this2'); $yo = array_diff($toost, $test); if ($yo) echo 'false'; else echo 'true';
Output for 4.3.0 - 7.1.0
true