--TEST-- SOAP Server 8: setclass and getfunctions --EXTENSIONS-- soap --FILE-- str; } } $server = new soapserver(null,array('uri'=>"http://testuri.org")); $server->setclass("Foo"); var_dump($server->getfunctions()); echo "ok\n"; ?> --EXPECT-- array(2) { [0]=> string(11) "__construct" [1]=> string(4) "test" } ok