3v4l.org

run code in 300+ PHP versions simultaneously
<?php class COBJ_TypesType { public static function __callStatic($name, array $arguments) { echo "Calling static method '$name' \n"; } public function __call($name, array $arguments) { echo "Calling object method '$name' \n"; } } class TypeUsers extends COBJ_TypesType { public function aaa() { COBJ_TypesType::runTest(); $obj = new COBJ_TypesType; $obj->runTest(); } } $u = new TypeUsers(); $u->aaa();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XWi5B
function name:  (null)
number of ops:  6
compiled vars:  !0 = $u
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     0  E >   NEW                                              $1      'TypeUsers'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   26     3        INIT_METHOD_CALL                                         !0, 'aaa'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class COBJ_TypesType:
Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XWi5B
function name:  __callStatic
number of ops:  7
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ROPE_INIT                                     3  ~3      'Calling+static+method+%27'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%27+%0A'
          5        ECHO                                                     ~2
    7     6      > 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/XWi5B
function name:  __call
number of ops:  7
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   10     2        ROPE_INIT                                     3  ~3      'Calling+object+method+%27'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%27+%0A'
          5        ECHO                                                     ~2
   11     6      > RETURN                                                   null

End of function __call

End of class COBJ_TypesType.

Class TypeUsers:
Function aaa:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XWi5B
function name:  aaa
number of ops:  8
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_STATIC_METHOD_CALL                                  'COBJ_TypesType', 'runTest'
          1        DO_FCALL                                      0          
   19     2        NEW                                              $2      'COBJ_TypesType'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
   20     5        INIT_METHOD_CALL                                         !0, 'runTest'
          6        DO_FCALL                                      0          
   21     7      > RETURN                                                   null

End of function aaa

Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XWi5B
function name:  __callStatic
number of ops:  7
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ROPE_INIT                                     3  ~3      'Calling+static+method+%27'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%27+%0A'
          5        ECHO                                                     ~2
    7     6      > 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/XWi5B
function name:  __call
number of ops:  7
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   10     2        ROPE_INIT                                     3  ~3      'Calling+object+method+%27'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%27+%0A'
          5        ECHO                                                     ~2
   11     6      > RETURN                                                   null

End of function __call

End of class TypeUsers.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.19 ms | 1399 KiB | 13 Q