3v4l.org

run code in 300+ PHP versions simultaneously
<?php $className = 'SimpleClass'; try { $instance = new $className(); } catch (Exception $e) { var_dump($e); }
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: 6
Branch analysis from position: 6
2 jumps found. (Code = 107) Position 1 = 7, Position 2 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoFPR
function name:  (null)
number of ops:  11
compiled vars:  !0 = $className, !1 = $instance, !2 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'SimpleClass'
    5     1        FETCH_CLASS                                   0  $4      !0
          2        NEW                                              $5      $4
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $5
          5      > JMP                                                      ->10
    6     6  E > > CATCH                                       last         'Exception'
    7     7    >   INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
    8    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.86 ms | 1394 KiB | 15 Q