Skip to content

Instantly share code, notes, and snippets.

@happydeveloper
Last active August 19, 2019 08:50
Show Gist options
  • Save happydeveloper/6945574 to your computer and use it in GitHub Desktop.
Save happydeveloper/6945574 to your computer and use it in GitHub Desktop.
php 배열 객체 array_push() 함수 사용법
<?php
/**
* Created by JetBrains PhpStorm.
* User: kangnaru
* Date: 13. 10. 12.
* Time: 오전 10:18
* To change this template use File | Settings | File Templates.
*/
$arr = array(1, 3, 9, 2);
array_push($arr,10);
array_push($arr,13);
print_r($arr);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment