3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "1905"; if(isset($var['ampm'])){ print "entra"; }else{ print "no entra"; } var_dump($var['ampm']); print $var['ampm'];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rThgU
function name:  (null)
number of ops:  13
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1905'
    3     1        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'ampm'
          2      > JMPZ                                                     ~2, ->5
    4     3    >   ECHO                                                     'entra'
          4      > JMP                                                      ->6
    6     5    >   ECHO                                                     'no+entra'
    8     6    >   INIT_FCALL                                               'var_dump'
          7        FETCH_DIM_R                                      ~3      !0, 'ampm'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                                 
    9    10        FETCH_DIM_R                                      ~5      !0, 'ampm'
         11        ECHO                                                     ~5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.15 ms | 1394 KiB | 15 Q