📄 server027.phpt
字号:
--TEST--SOAP Server 27: setObject and getFunctions--SKIPIF--<?php require_once('skipif.inc'); ?>--FILE--<?phpclass Foo { function Foo() { } function test() { return $this->str; }}$foo = new Foo();$server = new SoapServer(null,array('uri'=>"http://testuri.org"));$server->setObject($foo);var_dump($server->getfunctions());echo "ok\n";?>--EXPECT--array(2) { [0]=> string(3) "Foo" [1]=> string(4) "test"}ok--UEXPECT--array(2) { [0]=> unicode(3) "Foo" [1]=> unicode(4) "test"}ok
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -