3v4l.org

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

Class MyClass:
Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ual1K
function name:  __callStatic
number of ops:  5
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        CONCAT                                           ~2      !0, '%0A'
          3        ECHO                                                     ~2
    8     4      > RETURN                                                   null

End of function __callstatic

End of class MyClass.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.02 ms | 1404 KiB | 13 Q