3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = array( 'permissions', 'this'); $toost = array('this', 'permissions'); var_dump(array_intersect($test , $toost));
Output for 4.3.0 - 7.2.0
array(2) { [0]=> string(11) "permissions" [1]=> string(4) "this" }