Created
April 7, 2017 07:48
-
-
Save muhtarudinsiregar/111fb538061a6a1cf636b129af73174a to your computer and use it in GitHub Desktop.
Case Study 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- return value yang ada di $input_one dan $input_two --> | |
| $input_one = ['Ricky Andika Putra', 'Ramadani', 'Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto']; | |
| $input_two = ['Ricky Andika Putra', 'Yandi Fitriyanto', 'Muhammad Sholeh', 'Yadi Cahyadi']; | |
| $result = array_intersect($input_one, $input_two); | |
| print_r($result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment