3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { } $c = new C(); try { var_dump((string)$c); } catch (Exception $ex) { var_dump($ex); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
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/49JXF
function name:  (null)
number of ops:  13
compiled vars:  !0 = $c, !1 = $ex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $2      'C'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    8     3        INIT_FCALL                                               'var_dump'
          4        CAST                                          6  ~5      !0
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
          7      > JMP                                                      ->12
    9     8  E > > CATCH                                       last         'Exception'
   10     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
   11    12    > > RETURN                                                   1

Class C: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.65 ms | 1394 KiB | 15 Q