3v4l.org

run code in 300+ PHP versions simultaneously
<?php class World { public static function hello() { echo "Hello " . __CLASS__; } } class Meek extends World { public function __call($method, $arguments) { echo "I have the world"; } } Meek::hello();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYI5A
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_STATIC_METHOD_CALL                                  'Meek', 'hello'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class World:
Function hello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYI5A
function name:  hello
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'Hello+World'
    5     1      > RETURN                                                   null

End of function hello

End of class World.

Class Meek:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYI5A
function name:  __call
number of ops:  4
compiled vars:  !0 = $method, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   10     2        ECHO                                                     'I+have+the+world'
   11     3      > RETURN                                                   null

End of function __call

Function hello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYI5A
function name:  hello
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     'Hello+World'
    5     1      > RETURN                                                   null

End of function hello

End of class Meek.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.58 ms | 1394 KiB | 13 Q