{"action":"created","issue":{"url":"https://api.github.com/repos/phpforce/soap-client/issues/21","labels_url":"https://api.github.com/repos/phpforce/soap-client/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/phpforce/soap-client/issues/21/comments","events_url":"https://api.github.com/repos/phpforce/soap-client/issues/21/events","html_url":"https://github.com/phpforce/soap-client/issues/21","id":84313331,"number":21,"title":"HHVM Compatibility in Error?","user":{"login":"bartclarkson","id":2643708,"avatar_url":"https://avatars.githubusercontent.com/u/2643708?v=3","gravatar_id":"","url":"https://api.github.com/users/bartclarkson","html_url":"https://github.com/bartclarkson","followers_url":"https://api.github.com/users/bartclarkson/followers","following_url":"https://api.github.com/users/bartclarkson/following{/other_user}","gists_url":"https://api.github.com/users/bartclarkson/gists{/gist_id}","starred_url":"https://api.github.com/users/bartclarkson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartclarkson/subscriptions","organizations_url":"https://api.github.com/users/bartclarkson/orgs","repos_url":"https://api.github.com/users/bartclarkson/repos","events_url":"https://api.github.com/users/bartclarkson/events{/privacy}","received_events_url":"https://api.github.com/users/bartclarkson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-03T02:17:19Z","updated_at":"2015-06-04T02:44:12Z","closed_at":null,"body":"travis.yml indicates this is compatible with HHVM.  I'm not seeing that.  I'm using HHVM 3.7.  PHP5-FPM works just fine.  With HHVM, LoginResult just comes back with a bunch of NULL values in the array of protected values, leading me ultimately to an error from Salesforce of \"Destination URL not reset. The URL returned from login must be set in the SforceService\" from a subsequent request.\r\n\r\nI'm going to mess with this a bit more.  Would be nice to solve.  Wondering if this is fundamentally the culprit: http://docs.hhvm.com/manual/en/soapclient.soapclient.php ."},"comment":{"url":"https://api.github.com/repos/phpforce/soap-client/issues/comments/108693189","html_url":"https://github.com/phpforce/soap-client/issues/21#issuecomment-108693189","issue_url":"https://api.github.com/repos/phpforce/soap-client/issues/21","id":108693189,"user":{"login":"bartclarkson","id":2643708,"avatar_url":"https://avatars.githubusercontent.com/u/2643708?v=3","gravatar_id":"","url":"https://api.github.com/users/bartclarkson","html_url":"https://github.com/bartclarkson","followers_url":"https://api.github.com/users/bartclarkson/followers","following_url":"https://api.github.com/users/bartclarkson/following{/other_user}","gists_url":"https://api.github.com/users/bartclarkson/gists{/gist_id}","starred_url":"https://api.github.com/users/bartclarkson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartclarkson/subscriptions","organizations_url":"https://api.github.com/users/bartclarkson/orgs","repos_url":"https://api.github.com/users/bartclarkson/repos","events_url":"https://api.github.com/users/bartclarkson/events{/privacy}","received_events_url":"https://api.github.com/users/bartclarkson/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T02:44:12Z","updated_at":"2015-06-04T02:44:12Z","body":"So the classmap, of itself, is used from the Factory.  BUT the interesting thing is that any of the classes in the map mangle the results. \r\n\r\nFor instance, I commented out the LoginResult from the class mapping, and got this back in setLoginResult for $loginResult:\r\n\r\n```\r\nstdClass Object\r\n(\r\n    [metadataServerUrl] => https://na15.salesforce.com/services/Soap/m/27.0/00Di0000000HZ01\r\n    [passwordExpired] => \r\n    [sandbox] => \r\n    [serverUrl] => https://na15.salesforce.com/services/Soap/u/27.0/00Di0000000HZ01\r\n    [sessionId] => 00Di0000000HZ01!.......\r\n    [userId] => 005i0......\r\n    [userInfo] => Phpforce\\SoapClient\\Result\\GetUserInfoResult Object\r\n        (\r\n            [accessibilityMode:protected] => \r\n            [currencySymbol:protected] => \r\n            [orgAttachmentFileSizeLimit:protected] => \r\n            [orgDisallowHtmlAttachments:protected] => \r\n            [orgHasPersonAccounts:protected] => \r\n            [organizationId:protected] => \r\n            [organizationMultiCurrency:protected] => \r\n            [organizationName:protected] => \r\n            [profileId:protected] => \r\n            [roleId:protected] => \r\n            [sessionSecondsValid:protected] => \r\n            [userDefaultCurrencyIsoCode:protected] => \r\n            [userEmail:protected] => \r\n            [userFullName:protected] => \r\n            [userId:protected] => \r\n            [userLanguage:protected] => \r\n            [userLocale:protected] => \r\n            [userName:protected] => \r\n            [userTimeZone:protected] => \r\n            [userType:protected] => \r\n            [userUiSkin:protected] => \r\n            [orgDefaultCurrencyIsoCode:protected] => \r\n        )\r\n\r\n)\r\n```\r\n\r\nSo $loginResult simply became a stdClass, and populated, but Phpforce\\SoapClient\\Result\\GetUserInfoResult remained, though embedded.  And likewise, no setting of the values within the GetUserInfoResult class happened.  It's as if a \"fillValues\" function is missing somehow from the SoapClient, rendering the classmap methods only half-implemented.\r\n\r\nWill dig some more later."}}