3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = "1234567890a"; $b[10] = "42"; var_dump($a["010"], isset($a["010"])); var_dump($b["010"], isset($b["010"]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SDpff
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '1234567890a'
    3     1        ASSIGN_DIM                                                   !1, 10
          2        OP_DATA                                                      '42'
    4     3        INIT_FCALL                                                   'var_dump'
          4        FETCH_DIM_R                                          ~4      !0, '010'
          5        SEND_VAL                                                     ~4
          6        ISSET_ISEMPTY_DIM_OBJ                             0  ~5      !0, '010'
          7        SEND_VAL                                                     ~5
          8        DO_ICALL                                                     
    5     9        INIT_FCALL                                                   'var_dump'
         10        FETCH_DIM_R                                          ~7      !1, '010'
         11        SEND_VAL                                                     ~7
         12        ISSET_ISEMPTY_DIM_OBJ                             0  ~8      !1, '010'
         13        SEND_VAL                                                     ~8
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.66 ms | 2568 KiB | 14 Q