示例#1
0
<?php

class Foo
{
    function Foo()
    {
    }
    function test()
    {
        return $this->str;
    }
}
$server = new soapserver(null, array('uri' => "http://testuri.org"));
$server->setclass("Foo");
var_dump($server->getfunctions());
echo "ok\n";