3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array( 'permissions2', 'this2', 'test'); $toost = array('permissions2', 'this2'); // $yo = array_diff($toost, $test); if (in_array($toost, $test)) print_r(array_diff($test, $toost)); else print('it is false');
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
it is false