--TEST-- SOAP Server 6: setclass with constructor --EXTENSIONS-- soap --FILE-- str = $str . " World"; } function test() { return $this->str; } } $server = new soapserver(null,array('uri'=>"http://testuri.org")); $server->setclass("Foo","Hello"); $HTTP_RAW_POST_DATA = << EOF; $server->handle($HTTP_RAW_POST_DATA); echo "ok\n"; ?> --EXPECT-- Hello World ok