PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $a = ['three', 'five', 'one']; $b = ['five', 'one']; $output = array_values(array_intersect($a, $b)); print_r($output);
Show:  
Copy Clear