3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A{ public function __construct(){ static::hoge(); self::hoge(); A::hoge(); } public static function __callStatic($a, $b){ echo 'callStatic'; } public function __call($a, $b){ echo 'call'; } } new A();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n1Qib
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   14     0  E >   NEW                                                  $0      'A'
          1        DO_FCALL                                          0          
          2        FREE                                                         $0
          3      > RETURN                                                       1

Class A:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n1Qib
function name:  __construct
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   INIT_STATIC_METHOD_CALL                                      'hoge'
          1        DO_FCALL                                          0          
    6     2        INIT_STATIC_METHOD_CALL                                      'hoge'
          3        DO_FCALL                                          0          
    7     4        INIT_STATIC_METHOD_CALL                                      'A', 'hoge'
          5        DO_FCALL                                          0          
    8     6      > RETURN                                                       null

End of function __construct

Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n1Qib
function name:  __callStatic
number of ops:  4
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        ECHO                                                         'callStatic'
          3      > RETURN                                                       null

End of function __callstatic

Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n1Qib
function name:  __call
number of ops:  4
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   RECV                                                 !0      
          1        RECV                                                 !1      
          2        ECHO                                                         'call'
          3      > RETURN                                                       null

End of function __call

End of class A.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
148.49 ms | 508 KiB | 9 Q