Skip to content

Instantly share code, notes, and snippets.

@kraizt
Created April 7, 2017 09:05
Show Gist options
  • Save kraizt/13cb0f73999170c53d5c6c7348ca5b1e to your computer and use it in GitHub Desktop.
Save kraizt/13cb0f73999170c53d5c6c7348ca5b1e to your computer and use it in GitHub Desktop.
<?php
$users = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto'];
$users_new = 'Ricky Andika Putra';
array_unshift($users, $users_new);
print_r($users);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment