3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test[][] = array(); array_push($test[][],"a"); echo $test[0]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q77tf
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $1      !0
          1        ASSIGN_DIM                                               $1
          2        OP_DATA                                                  <array>
    3     3        INIT_FCALL                                               'array_push'
          4        FETCH_DIM_W                                      $3      !0
          5        FETCH_DIM_W                                      $4      $3
          6        SEND_REF                                                 $4
          7        SEND_VAL                                                 'a'
          8        DO_ICALL                                                 
    4     9        FETCH_DIM_R                                      ~6      !0, 0
         10        ECHO                                                     ~6
    5    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.09 ms | 1394 KiB | 15 Q