Skip to content

Instantly share code, notes, and snippets.

@kraizt
Created April 7, 2017 08:59
Show Gist options
  • Save kraizt/b2ef8bf917e6d438392d927ade9d405a to your computer and use it in GitHub Desktop.
Save kraizt/b2ef8bf917e6d438392d927ade9d405a to your computer and use it in GitHub Desktop.
<?php
$users = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto'];
$users_new = 'Ricky Andika Putra';
// pake unsift masuknya ke awal, pake push kok jadi integer, aneh :|
array_push($users, $users_new);
print_r($users);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment