Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $arr = range(1000,1200); //generate set of number in array
- $lastKey = count($arr) -1 ; //last key
- unset($arr[$lastKey]); //unset last array element
- var_dump($arr); exit(); //debug the array
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement