3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $x = new NonexistantClass(); } catch (Error $e) { var_dump($e->getMessage()); } echo "Don't worry, everything is still fine!\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F7edB
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'NonexistantClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
          3      > JMP                                                      ->10
    5     4  E > > CATCH                                       last         'Error'
    6     5    >   INIT_FCALL                                               'var_dump'
          6        INIT_METHOD_CALL                                         !1, 'getMessage'
          7        DO_FCALL                                      0  $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                                 
   10    10    >   ECHO                                                     'Don%27t+worry%2C+everything+is+still+fine%21%0A'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.75 ms | 1385 KiB | 15 Q