class ask
{
var $db;
var $pages;
var $number;
var $table;
var $table_posts;    function __construct()
    {
global $db;
$this->db = &$db;
$this->table = DB_PRE.'ask';
$this->table_posts = DB_PRE.'ask_posts';
$this->pay = load('pay_api.class.php', 'pay', 'api');   //_______________这里
$this->credit = load('credit.class.php', 'ask', 'include');   //_______________这里
    }
}
这里"$this->credit"和"$this->pay" 没有声明 怎么可以使用呢?