3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array_test['first']['two']['three'] = (isset($array_test['first']['two']['three']) ? $array_test['first']['two']['three'] : 0) + 10; var_export($array_test);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3407c
function name:  (null)
number of ops:  19
compiled vars:  !0 = $array_test
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_IS                                         ~4      !0, 'first'
          1        FETCH_DIM_IS                                         ~5      ~4, 'two'
          2        ISSET_ISEMPTY_DIM_OBJ                             0          ~5, 'three'
          3      > JMPZ                                                         ~6, ->9
          4    >   FETCH_DIM_R                                          ~7      !0, 'first'
          5        FETCH_DIM_R                                          ~8      ~7, 'two'
          6        FETCH_DIM_R                                          ~9      ~8, 'three'
          7        QM_ASSIGN                                            ~10     ~9
          8      > JMP                                                          ->10
          9    >   QM_ASSIGN                                            ~10     0
         10    >   ADD                                                  ~11     ~10, 10
         11        FETCH_DIM_W                                          $1      !0, 'first'
         12        FETCH_DIM_W                                          $2      $1, 'two'
         13        ASSIGN_DIM                                                   $2, 'three'
         14        OP_DATA                                                      ~11
    5    15        INIT_FCALL                                                   'var_export'
         16        SEND_VAR                                                     !0
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
272.75 ms | 3353 KiB | 14 Q