Guest User

Untitled

a guest
Jul 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. $stack = array();
  2.     foreach($big as $add){
  3.         $last = $add[count($add)-1];
  4.         array_push($stack, "hey");
  5.     }
  6.     echo '<pre>';
  7.     print_r($arr);
  8.     echo '</pre>';
  9.  
  10. /* PRODUCES */
  11.  
  12. Array
  13. (
  14.     [0] => hey
  15. )
  16. Array
  17. (
  18.     [0] => hey
  19. )
  20. Array
  21. (
  22.     [0] => hey
  23. )
  24. Array
  25. (
  26.     [0] => hey
  27. )
Add Comment
Please, Sign In to add comment