3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'here\'s some data'; var_dump(isset($data['string'])); var_dump(isset($data['string'][0])); echo $data['string'][0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5rbv9
function name:  (null)
number of ops:  14
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'here%27s+some+data'
    5     1        INIT_FCALL                                               'var_dump'
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, 'string'
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                                 
    6     5        INIT_FCALL                                               'var_dump'
          6        FETCH_DIM_IS                                     ~4      !0, 'string'
          7        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      ~4, 0
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
    8    10        FETCH_DIM_R                                      ~7      !0, 'string'
         11        FETCH_DIM_R                                      ~8      ~7, 0
         12        ECHO                                                     ~8
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.28 ms | 1394 KiB | 15 Q