3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!interface_exists("MyInterface")){ throw new \Exception("Yo, MyInterface does not exists");}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L1tA4
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'interface_exists'
          1        SEND_VAL                                                 'MyInterface'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->9
          5    >   NEW                                              $2      'Exception'
          6        SEND_VAL_EX                                              'Yo%2C+MyInterface+does+not+exists'
          7        DO_FCALL                                      0          
          8      > THROW                                         0          $2
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.58 ms | 1008 KiB | 14 Q