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: bug47818.phpt
--TEST-- Bug #47818 (Segfault due to bound callback param) --SKIPIF-- <?php if (!extension_loaded("xmlrpc")) print "skip"; ?> --FILE-- <?php class MyXmlRpc { private $s; private $method; function impl($method_name, $params, $user_data){ $this->method = $method_name; print "Inside impl(): {$this->method}\n"; return array_sum($params); } function __construct() { $this->s = xmlrpc_server_create(); xmlrpc_server_register_method($this->s, 'add', array($this, 'impl')); } function call($req) { return xmlrpc_server_call_method($this->s, $req, null); } function getMethod() {return $this->method;} } $x = new MyXmlRpc; $resp = $x->call(xmlrpc_encode_request('add', array(1, 2, 3))); $method = $x->getMethod(); print "Global scope: $method\n"; ?> --EXPECT-- Inside impl(): add Global scope: add
Upload File
Create Folder