3v4l.org

run code in 300+ PHP versions simultaneously
<?php class schade { public function __construct(){ anvadb::disconnect(); } } class odbcdb { public static function disconnect() { static::test(); } public static function test() { echo 'odbc::test()'; } } class anvadb extends odbcdb { public static 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/Ua8JO
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     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/Ua8JO
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 disconnect:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ua8JO
function name:  disconnect
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_STATIC_METHOD_CALL                                  'test'
          1        DO_FCALL                                      0          
   11     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/Ua8JO
function name:  test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ECHO                                                     'odbc%3A%3Atest%28%29'
   16     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/Ua8JO
function name:  test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   ECHO                                                     'anvadb%3A%3Atest%28%29'
   23     1      > RETURN                                                   null

End of function test

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

End of function disconnect

End of class anvadb.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.21 ms | 1395 KiB | 13 Q