GNOME Bugzilla – Bug 795111
XMLRPC test fails with PHP ≥ 7.2
Last modified: 2018-04-17 08:05:35 UTC
Trying to count something uncountable causes PHP ≥7.2 to emit a warning before returning zero. I assume that the ping() function's $params is NULL when there are no parameters.
Created attachment 370708 [details] [review] [PATCH] xmlrpc-server.php: Don't try to count NULL params
Review of attachment 370708 [details] [review]: That seems a safe assumption. Please push also to the stable branch.
Comment on attachment 370708 [details] [review] [PATCH] xmlrpc-server.php: Don't try to count NULL params The following fix has been pushed: d2a6c20 xmlrpc-server.php: Don't try to count NULL params
Created attachment 371014 [details] [review] xmlrpc-server.php: Don't try to count NULL params Trying to count something uncountable causes PHP ≥7.2 to emit a warning before returning zero. I assume that the ping() function's $params is NULL when there are no parameters.