File tree 2 files changed +14
-14
lines changed
2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
- ## XML-RPC for PHP version 4.11 - UNRELEASED
1
+ ## XML-RPC for PHP version 4.11 - 2024/9/7
2
2
3
- * improved: compatibility with not-yet-released PHP version 8.4
3
+ * new: added new Client option ` Client::OPT_EXTRA_HEADERS ` , useful to set custom HTTP headers
4
4
5
- * improved: added new option ` Client::OPT_EXTRA_HEADERS ` , useful to set custom HTTP headers
5
+ * improved: compatibility with not-yet-released PHP version 8.4
6
6
7
7
8
8
## XML-RPC for PHP version 4.10.4 - 2024/06/27
Original file line number Diff line number Diff line change @@ -17,6 +17,17 @@ public function set_up()
17
17
$ this ->client = $ this ->getClient ();
18
18
}
19
19
20
+ public function getAvailableUseCurlOptions ()
21
+ {
22
+ $ opts = array (\PhpXmlRpc \Client::USE_CURL_NEVER );
23
+ if (function_exists ('curl_init ' ))
24
+ {
25
+ $ opts [] = \PhpXmlRpc \Client::USE_CURL_ALWAYS ;
26
+ }
27
+
28
+ return array ($ opts );
29
+ }
30
+
20
31
public function test404 ()
21
32
{
22
33
$ this ->client ->path = '/NOTEXIST.php ' ;
@@ -115,17 +126,6 @@ public function testCustomHeaders($curlOpt)
115
126
$ this ->assertArrayHasKey ('X-Pxr-Test ' , $ ro ->scalarVal (), "Testing with curl mode: $ curlOpt " );
116
127
}
117
128
118
- public function getAvailableUseCurlOptions ()
119
- {
120
- $ opts = array (\PhpXmlRpc \Client::USE_CURL_NEVER );
121
- if (function_exists ('curl_init ' ))
122
- {
123
- $ opts [] = \PhpXmlRpc \Client::USE_CURL_ALWAYS ;
124
- }
125
-
126
- return array ($ opts );
127
- }
128
-
129
129
public function testgetUrl ()
130
130
{
131
131
$ m = $ this ->client ->getUrl (PHP_URL_SCHEME );
You can’t perform that action at this time.
0 commit comments