3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(1,"","1"," ",NULL); for($i=0;$i<5;$i++) echo var_dump(isset($arr[$i]))." >> "; echo var_dump(isset($adf));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
filename:       /in/eIZFi
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr, !1 = $i, !2 = $adf
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->10
    4     3    >   INIT_FCALL                                               'var_dump'
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      !0, !1
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                         $6      
          7        CONCAT                                           ~7      $6, '+%3E%3E+'
          8        ECHO                                                     ~7
    3     9        PRE_INC                                                  !1
         10    >   IS_SMALLER                                               !1, 5
         11      > JMPNZ                                                    ~9, ->3
    6    12    >   INIT_FCALL                                               'var_dump'
         13        ISSET_ISEMPTY_CV                                 ~10     !2
         14        SEND_VAL                                                 ~10
         15        DO_ICALL                                         $11     
         16        ECHO                                                     $11
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.3 ms | 1395 KiB | 15 Q