diff options
Diffstat (limited to 'ext/xmlrpc/tests/bug50282.phpt')
-rw-r--r-- | ext/xmlrpc/tests/bug50282.phpt | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ext/xmlrpc/tests/bug50282.phpt b/ext/xmlrpc/tests/bug50282.phpt deleted file mode 100644 index eb35fe3f2d..0000000000 --- a/ext/xmlrpc/tests/bug50282.phpt +++ /dev/null @@ -1,43 +0,0 @@ ---TEST-- -Bug #50282 (xmlrpc_encode_request() changes object into array in calling function) ---SKIPIF-- -<?php if (!extension_loaded("xmlrpc")) print "skip"; ?> ---FILE-- -<?php - -class One { var $x = 10; } - -$o = new One(); -var_dump($o); -var_dump(xmlrpc_encode_request('test', $o)); -var_dump($o); - -?> ---EXPECTF-- -object(One)#%d (1) { - ["x"]=> - int(10) -} -string(279) "<?xml version="1.0" encoding="iso-8859-1"?> -<methodCall> -<methodName>test</methodName> -<params> - <param> - <value> - <struct> - <member> - <name>x</name> - <value> - <int>10</int> - </value> - </member> - </struct> - </value> - </param> -</params> -</methodCall> -" -object(One)#%d (1) { - ["x"]=> - int(10) -} |