3v4l.org

run code in 300+ PHP versions simultaneously
<?php class T { public static function __callStatic($method, $args) { echo "__callStatic() called\n"; } public function f() { echo "f() called\n"; } } T::f();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rsR71
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_STATIC_METHOD_CALL                                  'T', 'f'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class T:
Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rsR71
function name:  __callStatic
number of ops:  4
compiled vars:  !0 = $method, !1 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        ECHO                                                     '__callStatic%28%29+called%0A'
    8     3      > RETURN                                                   null

End of function __callstatic

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

End of function f

End of class T.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.82 ms | 1393 KiB | 13 Q