3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.34 ms | 1395 KiB | 15 Q