<?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;