3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); isset($a[10]); $c = 10; $data['data'][$c]['calculated']['types'] = 10; echo $data['data'][$c]['calculated']['types']; isset($data['data'][$c]['calculated']['types'][strlen('11')]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jtAWU
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a, !1 = $c, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      !0, 10
          2        FREE                                                     ~4
    7     3        ASSIGN                                                   !1, 10
    9     4        FETCH_DIM_W                                      $6      !2, 'data'
          5        FETCH_DIM_W                                      $7      $6, !1
          6        FETCH_DIM_W                                      $8      $7, 'calculated'
          7        ASSIGN_DIM                                               $8, 'types'
          8        OP_DATA                                                  10
   11     9        FETCH_DIM_R                                      ~10     !2, 'data'
         10        FETCH_DIM_R                                      ~11     ~10, !1
         11        FETCH_DIM_R                                      ~12     ~11, 'calculated'
         12        FETCH_DIM_R                                      ~13     ~12, 'types'
         13        ECHO                                                     ~13
   13    14        FETCH_DIM_IS                                     ~14     !2, 'data'
         15        FETCH_DIM_IS                                     ~15     ~14, !1
         16        FETCH_DIM_IS                                     ~16     ~15, 'calculated'
         17        FETCH_DIM_IS                                     ~17     ~16, 'types'
         18        ISSET_ISEMPTY_DIM_OBJ                         0  ~18     ~17, 2
         19        FREE                                                     ~18
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.59 ms | 1394 KiB | 13 Q