3v4l.org

run code in 300+ PHP versions simultaneously
<?php isset($test) OR throw new exception('foo');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 2, Position 2 = 7
Branch analysis from position: 2
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8H6mu
function name:  (null)
number of ops:  8
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ISSET_ISEMPTY_CV                                 ~1      !0
          1      > JMPNZ_EX                                         ~1      ~1, ->7
          2    >   NEW                                              $2      'exception'
          3        SEND_VAL_EX                                              'foo'
          4        DO_FCALL                                      0          
          5      > THROW                                         1          $2
          6*       BOOL                                             ~1      <true>
          7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.53 ms | 1392 KiB | 13 Q