{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/4428","repository_url":"https://api.github.com/repos/facebook/hhvm","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/4428/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/4428/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/4428/events","html_url":"https://github.com/facebook/hhvm/issues/4428","id":51681933,"number":4428,"title":"XML-RPC issue","user":{"login":"mmarleta","id":957842,"avatar_url":"https://avatars.githubusercontent.com/u/957842?v=3","gravatar_id":"","url":"https://api.github.com/users/mmarleta","html_url":"https://github.com/mmarleta","followers_url":"https://api.github.com/users/mmarleta/followers","following_url":"https://api.github.com/users/mmarleta/following{/other_user}","gists_url":"https://api.github.com/users/mmarleta/gists{/gist_id}","starred_url":"https://api.github.com/users/mmarleta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmarleta/subscriptions","organizations_url":"https://api.github.com/users/mmarleta/orgs","repos_url":"https://api.github.com/users/mmarleta/repos","events_url":"https://api.github.com/users/mmarleta/events{/privacy}","received_events_url":"https://api.github.com/users/mmarleta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/php5%20incompatibility","name":"php5 incompatibility","color":"837ced"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2014-12-11T12:39:26Z","updated_at":"2016-09-28T23:23:59Z","closed_at":"2016-09-28T23:23:59Z","body":"Hi,\r\n\r\nI found an issue with XML-RPC using Magento. \r\nI'm using:\r\nHipHop VM 3.5.0-dev (rel)\r\n\r\nWhen I try something like this in a python console:\r\n\r\n   >> from xmlrpclib import ServerProxy\r\n   >> p = ServerProxy('http://www.mysite.com/index.php/api/xmlrpc')\r\n   >> p.login('user', 'password')\r\n\r\nI got this error:\r\n014-12-11T11:24:31+00:00 ERR (3): Warning: Invalid operand type was used: expecting an array  in lib/Zend/XmlRpc/Value.php on line 456\r\n           list($type, $value) = each($xml);\r\n\r\n2014-12-11T11:24:31+00:00 ERR (3): Warning: Invalid operand type was used: expecting an array  lib/Zend/XmlRpc/Value.php on line 462\r\n          list($type, $value) = each($namespaceXml);\r\n\r\nIf I disable hhvm it works as expected.\r\nCould you please help ?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/250330259","html_url":"https://github.com/facebook/hhvm/issues/4428#issuecomment-250330259","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/4428","id":250330259,"user":{"login":"paulbiss","id":1039792,"avatar_url":"https://avatars.githubusercontent.com/u/1039792?v=3","gravatar_id":"","url":"https://api.github.com/users/paulbiss","html_url":"https://github.com/paulbiss","followers_url":"https://api.github.com/users/paulbiss/followers","following_url":"https://api.github.com/users/paulbiss/following{/other_user}","gists_url":"https://api.github.com/users/paulbiss/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbiss/subscriptions","organizations_url":"https://api.github.com/users/paulbiss/orgs","repos_url":"https://api.github.com/users/paulbiss/repos","events_url":"https://api.github.com/users/paulbiss/events{/privacy}","received_events_url":"https://api.github.com/users/paulbiss/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T23:23:59Z","updated_at":"2016-09-28T23:23:59Z","body":"Closing this as a [documented inconsistency](https://docs.hhvm.com/hhvm/inconsistencies/classes-and-objects#object-internal-cursors), as it sounds like there are some good workarounds already."}}
{"actor":{"display_login":"paulbiss"}}