1--TEST--
2SOAP Server: SoapServer::setClass() twice
3--EXTENSIONS--
4soap
5--FILE--
6<?php
7class Foo {
8  function test() {
9    return "Hello World";
10  }
11}
12
13$server = new SoapServer(null,array('uri'=>"http://testuri.org"));
14$server->setClass(Foo::class, new stdClass, []);
15$server->setClass(Foo::class, new stdClass, []);
16
17echo "Done\n";
18?>
19--EXPECT--
20Done
21