3v4l.org

run code in 300+ PHP versions simultaneously
<?php class NotThis extends \Exception { public function __construct($mess) { parent::__construct($mess); } } function goBla () { try { throw new \Exception("x"); } catch (\Exception $e) { echo "bla"; } finally { throw new \NotThis("x"); } } goBla();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ciieu
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E >   INIT_FCALL                                               'gobla'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function gobla:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
2 jumps found. (Code = 162) Position 1 = 9, Position 2 = 8
Branch analysis from position: 9
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ciieu
function name:  goBla
number of ops:  15
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $2      'Exception'
          1        SEND_VAL_EX                                              'x'
          2        DO_FCALL                                      0          
          3      > THROW                                         0          $2
          4*       JMP                                                      ->7
   18     5  E > > CATCH                                       last         'Exception'
   20     6    >   ECHO                                                     'bla'
   24     7      > FAST_CALL                                                ->9
          8    > > JMP                                                      ->14
   26     9    >   NEW                                              $4      'NotThis'
         10        SEND_VAL_EX                                              'x'
         11        DO_FCALL                                      0          
         12      > THROW                                         0          $4
         13*       FAST_RET                                                 
   29    14    > > RETURN                                                   null

End of function gobla

Class NotThis:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ciieu
function name:  __construct
number of ops:  5
compiled vars:  !0 = $mess
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        INIT_STATIC_METHOD_CALL                                  
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
    8     4      > RETURN                                                   null

End of function __construct

End of class NotThis.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.45 ms | 1399 KiB | 14 Q