3v4l.org

run code in 300+ PHP versions simultaneously
<?php function murder() { try { return 1; } finally { try { return 2; } finally { try { return 3; } finally { try { return 4; } finally { try { return 5; } finally { return murder(); } } } } } } var_dump(murder());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OfU8P
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   27     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'murder'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function murder:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 162) Position 1 = 4, Position 2 = 1
Branch analysis from position: 4
2 jumps found. (Code = 162) Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
2 jumps found. (Code = 162) Position 1 = 15, Position 2 = 10
Branch analysis from position: 15
2 jumps found. (Code = 162) Position 1 = 22, Position 2 = 16
Branch analysis from position: 22
2 jumps found. (Code = 162) Position 1 = 30, Position 2 = 23
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OfU8P
function name:  murder
number of ops:  44
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > FAST_CALL                                                ->4
          1    > > RETURN                                                   1
    6     2*       FAST_CALL                                                ->4
          3*       JMP                                                      ->43
    8     4    > > FAST_CALL                                                ->9
          5    >   DISCARD_EXCEPTION                                        
          6      > RETURN                                                   2
    9     7*       FAST_CALL                                                ->9
          8*       JMP                                                      ->42
   11     9    > > FAST_CALL                                                ->15
         10    >   DISCARD_EXCEPTION                                        
         11        DISCARD_EXCEPTION                                        
         12      > RETURN                                                   3
   12    13*       FAST_CALL                                                ->15
         14*       JMP                                                      ->41
   14    15    > > FAST_CALL                                                ->22
         16    >   DISCARD_EXCEPTION                                        
         17        DISCARD_EXCEPTION                                        
         18        DISCARD_EXCEPTION                                        
         19      > RETURN                                                   4
   15    20*       FAST_CALL                                                ->22
         21*       JMP                                                      ->40
   17    22    > > FAST_CALL                                                ->30
         23    >   DISCARD_EXCEPTION                                        
         24        DISCARD_EXCEPTION                                        
         25        DISCARD_EXCEPTION                                        
         26        DISCARD_EXCEPTION                                        
         27      > RETURN                                                   5
   18    28*       FAST_CALL                                                ->30
         29*       JMP                                                      ->39
   19    30    >   INIT_FCALL_BY_NAME                                       'murder'
         31        DO_FCALL                                      0  $5      
         32        DISCARD_EXCEPTION                                        
         33        DISCARD_EXCEPTION                                        
         34        DISCARD_EXCEPTION                                        
         35        DISCARD_EXCEPTION                                        
         36        DISCARD_EXCEPTION                                        
         37      > RETURN                                                   $5
         38*       FAST_RET                                                 
         39*       FAST_RET                                                 
         40*       FAST_RET                                                 
         41*       FAST_RET                                                 
         42*       FAST_RET                                                 
   25    43*     > RETURN                                                   null

End of function murder

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.86 ms | 1394 KiB | 16 Q