fork(1) download
  1. <?php
  2. $lista = [];
  3. $lista[] = "Stack";
  4. $lista[] = "Over";
  5. $lista[] = "flow";
  6. print_r($lista);
  7.  
  8. $lista = array();
  9. array_push($lista, "Stack");
  10. array_push($lista, "Over");
  11. array_push($lista, "flow");
  12. print_r($lista);
Success #stdin #stdout 0s 52488KB
stdin
Standard input is empty
stdout
Array
(
    [0] => Stack
    [1] => Over
    [2] => flow
)
Array
(
    [0] => Stack
    [1] => Over
    [2] => flow
)