我希望在PHP脚本的运行时添加类变量,但似乎出错了,并且代码无法按预期工作。
Array ( [sid] => 901310601 [secure_key] => 684 [test] => 1 )
sid - 901310601
secure_key - 684
test - 1
SID = ''
Payment_gateway_2checkout::__set_state(array(
'table' => '2checkout ',
'parent' => NULL,
'methods' =>
array (
),
'properties' =>
array (
),
))
这是输出
$this->sid
901310601
为空,但我想看{4}}
更新
这里是this
Payment_gateway_2checkout::__set_state(array(
'table' => '2checkout ',
'parent' => NULL,
'methods' =>
array (
),
'properties' =>
array (
),
))