3v4l.org

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