2010-08-07 78 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