3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SecuPress_Scan { protected static $name = ''; public function __construct() {} public static function foo() { echo self::$name; } } class SecuPress_Scan_Ver_Check extends SecuPress_Scan { protected static $name = 'ver_check'; public function __construct() { self::foo(); } } new SecuPress_Scan_Ver_Check;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vYQpl
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   NEW                                              $0      'SecuPress_Scan_Ver_Check'
          1        DO_FCALL                                      0          
          2        FREE                                                     $0
          3      > RETURN                                                   1

Class SecuPress_Scan:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vYQpl
function name:  __construct
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   null

End of function __construct

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vYQpl
function name:  foo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'name'
          1        ECHO                                                     ~0
   10     2      > RETURN                                                   null

End of function foo

End of class SecuPress_Scan.

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

End of function __construct

Function foo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vYQpl
function name:  foo
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'name'
          1        ECHO                                                     ~0
   10     2      > RETURN                                                   null

End of function foo

End of class SecuPress_Scan_Ver_Check.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.36 ms | 1399 KiB | 13 Q