3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (true || throwError()) { echo 'Not throwing.'; } function throwError() { throw new Exception('P0wned!'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 2
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/TXYRq
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     <true>, ->2
    5     1    >   ECHO                                                     'Not+throwing.'
   10     2    > > RETURN                                                   1

Function throwerror:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/TXYRq
function name:  throwError
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $0      'Exception'
          1        SEND_VAL_EX                                              'P0wned%21'
          2        DO_FCALL                                      0          
          3      > THROW                                         0          $0
   10     4*     > RETURN                                                   null

End of function throwerror

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.66 ms | 1422 KiB | 13 Q