2010-08-07 77 views

回答

4

您不使用PHP中的.。使用->代替,例如:

$x->AddUser('FakeId','FakeUser'); 
$x->Refresh('FakeUser'); 

.是PHP的连接运算符,所以它认为你想

$x . AddUser('FakeId', 'FakeUser'); // $x concatenated with AddUser(...) 

当然Adduser()是不确定的。

+0

这就是我整天使用Python的原因。谢谢。 :d – Alexander 2010-08-07 02:26:39