3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { @unlink('/var/does/not/exist'); echo '\ErrorException not thrown'; } catch (ErrorException $e) { echo '\ErrorException thrown'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 7
Branch analysis from position: 7
2 jumps found. (Code = 107) Position 1 = 8, Position 2 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NrcZe
function name:  (null)
number of ops:  10
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BEGIN_SILENCE                                    ~1      
          1        INIT_FCALL                                               'unlink'
          2        SEND_VAL                                                 '%2Fvar%2Fdoes%2Fnot%2Fexist'
          3        DO_ICALL                                                 
          4        END_SILENCE                                              ~1
    5     5        ECHO                                                     '%5CErrorException+not+thrown'
          6      > JMP                                                      ->9
    6     7  E > > CATCH                                       last         'ErrorException'
    7     8    >   ECHO                                                     '%5CErrorException+thrown'
    8     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.8 ms | 1394 KiB | 15 Q