diff options
Diffstat (limited to 'ext/soap/tests/bugs/bug29830.phpt')
-rw-r--r-- | ext/soap/tests/bugs/bug29830.phpt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/soap/tests/bugs/bug29830.phpt b/ext/soap/tests/bugs/bug29830.phpt deleted file mode 100644 index dc090f82cc..0000000000 --- a/ext/soap/tests/bugs/bug29830.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Bug #29844 (SoapServer::setClass() should not export non-public methods) ---SKIPIF-- -<?php require_once('skipif.inc'); ?> ---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 |