[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
kmspico
/
release
/
dorams
/
geromi
/
vincent
/
[
Home
]
File: bug29830.phpt
--TEST-- Bug #29844 (SoapServer::setClass() should not export non-public methods) --EXTENSIONS-- soap --FILE-- <?php class hello_world { public function hello($to) { return 'Hello ' . $to; } private function bye($to) { return 'Bye ' . $to; } } $server = new SoapServer(NULL, array("uri"=>"test://")); $server->setClass('hello_world'); $functions = $server->getFunctions(); foreach($functions as $func) { echo $func . "\n"; } ?> --EXPECT-- hello