3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface RouteManagerInterface { } interface ThemeManagerInterface { public function getActiveTheme(RouteMatchInterface $route_match = NULL); } class SomeOtherThemeManager implements ThemeManagerInterface { public function getActiveTheme() { echo 'yo!' . PHP_EOL; } } $c = new SomeOtherThemeManager(); $c->getActiveTheme();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JeoS4
function name:  (null)
number of ops:  7
compiled vars:  !0 = $c
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   DECLARE_CLASS                                                'someotherthememanager'
   14     1        NEW                                                  $1      'SomeOtherThemeManager'
          2        DO_FCALL                                          0          
          3        ASSIGN                                                       !0, $1
   15     4        INIT_METHOD_CALL                                             !0, 'getActiveTheme'
          5        DO_FCALL                                          0          
          6      > RETURN                                                       1

Class RouteManagerInterface: [no user functions]
Class ThemeManagerInterface:
Function getactivetheme:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JeoS4
function name:  getActiveTheme
number of ops:  2
compiled vars:  !0 = $route_match
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV_INIT                                            !0      null
          1      > RETURN                                                       null

End of function getactivetheme

End of class ThemeManagerInterface.

Class SomeOtherThemeManager:
Function getactivetheme:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JeoS4
function name:  getActiveTheme
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   ECHO                                                         'yo%21%0A'
   12     1      > RETURN                                                       null

End of function getactivetheme

End of class SomeOtherThemeManager.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
145.57 ms | 1572 KiB | 8 Q