X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php81-pecl-xmlrpc_1.0.0-0.RC3.el8/tests
opt
/
alt
/
tests
/
alt-php81-pecl-xmlrpc_1.0.0-0.RC3.el8
/
tests
/
ðŸ“
..
📄
001.phpt
(848 B)
📄
002.phpt
(800 B)
📄
003.phpt
(1.59 KB)
📄
004.phpt
(297 B)
📄
005.phpt
(763 B)
📄
006.phpt
(425 B)
📄
007.phpt
(400 B)
📄
bug18916.phpt
(443 B)
📄
bug37057.phpt
(1.14 KB)
📄
bug38431.phpt
(534 B)
📄
bug40576.phpt
(1.32 KB)
📄
bug40576_64bit.phpt
(1.31 KB)
📄
bug42189.phpt
(279 B)
📄
bug42736.phpt
(1.21 KB)
📄
bug44996.phpt
(1.23 KB)
📄
bug45226.phpt
(1.11 KB)
📄
bug45555.phpt
(757 B)
📄
bug45556.phpt
(1.07 KB)
📄
bug47818.phpt
(885 B)
📄
bug50282.phpt
(688 B)
📄
bug50285.phpt
(2.38 KB)
📄
bug50761.phpt
(1.57 KB)
📄
bug51288.phpt
(354 B)
📄
bug61097.phpt
(356 B)
📄
bug61264.phpt
(345 B)
📄
bug68027.phpt
(1.06 KB)
📄
bug70526.phpt
(267 B)
📄
bug70728.phpt
(625 B)
📄
bug70728_64bit.phpt
(623 B)
📄
bug71501.phpt
(478 B)
📄
bug72155.phpt
(473 B)
📄
bug72647.phpt
(532 B)
📄
bug74975.phpt
(799 B)
📄
bug77242.phpt
(281 B)
📄
bug77380.phpt
(336 B)
Editing: bug45556.phpt
--TEST-- Bug #45556 (Return value from callback isn't freed) --SKIPIF-- <?php if (!extension_loaded("xmlrpc")) print "skip"; ?> --FILE-- <?php $options = array (); $request = xmlrpc_encode_request ("system.describeMethods", $options); $server = xmlrpc_server_create (); function foo() { return 11111; } class bar { static public function test() { return 'foo'; } } xmlrpc_server_register_introspection_callback($server, 'foobar'); xmlrpc_server_register_introspection_callback($server, array('bar', 'test')); xmlrpc_server_register_introspection_callback($server, array('foo', 'bar')); $options = array ('output_type' => 'xml', 'version' => 'xmlrpc'); xmlrpc_server_call_method ($server, $request, NULL, $options); ?> --EXPECTF-- Warning: xmlrpc_server_call_method(): Invalid callback 'foobar' passed in %s on line %d Warning: xmlrpc_server_call_method(): XML parse error: [line 1, column 1, message: %s] Unable to add introspection data returned from bar::test() in %s on line %d Warning: xmlrpc_server_call_method(): Invalid callback 'foo::bar' passed in %s on line %d
Upload File
Create Folder