Skip to content

Instantly share code, notes, and snippets.

@kraizt
Created April 7, 2017 07:44
Show Gist options
  • Save kraizt/1a26b4d084cc363bbedf27cf090fd3c5 to your computer and use it in GitHub Desktop.
Save kraizt/1a26b4d084cc363bbedf27cf090fd3c5 to your computer and use it in GitHub Desktop.
<?php
$input_one = ['Ricky Andika Putra', 'Ramadani', 'Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto'];
$input_two = ['Ricky Andika Putra', 'Yandi Fitriyanto', 'Muhammad Sholeh', 'Yadi Cahyadi'];
array_shift($input_one);
array_pop($input_one);
$result = $input_one;
print_r($result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment