3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1 = ['cola/loca/archivo']; $arr2 = ['cola/loca/archivo','cola/loca']; $arr_result = array_intersec($arr1, $arr2); print_r($arr_result);
based on UqoFM