3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[1.2] = 1; if(isset($a[1.3])) throw new Exception;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EaC7t
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 1.2
          2        OP_DATA                                                  1
    4     3        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 1.3
          4      > JMPZ                                                     ~3, ->8
          5    >   NEW                                              $4      'Exception'
          6        DO_FCALL                                      0          
          7      > THROW                                         0          $4
          8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.83 ms | 1392 KiB | 13 Q