3v4l.org

run code in 300+ PHP versions simultaneously
<?php class schade { public function __construct(){ anvadb::disconnect(); } } class odbcdb { public static function __callStatic($method, $arguments) { $this->$method($arguments); } public function disconnect() { $this->test(); } public function test() { echo 'odbc::test()'; } } class anvadb extends odbcdb { public function test() { echo 'anvadb::test()'; } } new schade;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OAdEm
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   NEW                                              $0      'schade'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

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

End of function __construct

End of class schade.

Class odbcdb:
Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OAdEm
function name:  __callStatic
number of ops:  7
compiled vars:  !0 = $method, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   11     2        FETCH_THIS                                       $2      
          3        INIT_METHOD_CALL                                         $2, !0
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0          
   12     6      > RETURN                                                   null

End of function __callstatic

Function disconnect:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OAdEm
function name:  disconnect
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_METHOD_CALL                                         'test'
          1        DO_FCALL                                      0          
   15     2      > RETURN                                                   null

End of function disconnect

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

End of function test

End of class odbcdb.

Class anvadb:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OAdEm
function name:  test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   ECHO                                                     'anvadb%3A%3Atest%28%29'
   27     1      > RETURN                                                   null

End of function test

Function __callstatic:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OAdEm
function name:  __callStatic
number of ops:  7
compiled vars:  !0 = $method, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   11     2        FETCH_THIS                                       $2      
          3        INIT_METHOD_CALL                                         $2, !0
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0          
   12     6      > RETURN                                                   null

End of function __callstatic

Function disconnect:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OAdEm
function name:  disconnect
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_METHOD_CALL                                         'test'
          1        DO_FCALL                                      0          
   15     2      > RETURN                                                   null

End of function disconnect

End of class anvadb.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.35 ms | 1390 KiB | 13 Q