fork download
  1. <?php
  2. $ranking[] = ['App', 'Views'];
  3. $options[] = ['A', 'B'];
  4.  
  5. array_push($ranking[0], ...$options[0]);
  6.  
  7. print_r($ranking);
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
Array
(
    [0] => Array
        (
            [0] => App
            [1] => Views
            [2] => A
            [3] => B
        )

)