3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.27 ms | 1392 KiB | 13 Q