3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.48 ms | 1398 KiB | 15 Q