PHPize Online / SQLize Online

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