3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $foo = sqlite_open(''); var_dump($foo); } catch (MyException $e){ echo "Caught my exception\n", $e; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 8
Branch analysis from position: 8
2 jumps found. (Code = 107) Position 1 = 9, Position 2 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kTEBp
function name:  (null)
number of ops:  12
compiled vars:  !0 = $foo, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'sqlite_open'
          1        SEND_VAL_EX                                              ''
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > JMP                                                      ->11
    6     8  E > > CATCH                                       last         'MyException'
    7     9    >   ECHO                                                     'Caught+my+exception%0A'
         10        ECHO                                                     !1
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.82 ms | 1394 KiB | 15 Q