{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/14086","labels_url":"https://api.github.com/repos/symfony/symfony/issues/14086/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/14086/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/14086/events","html_url":"https://github.com/symfony/symfony/issues/14086","id":64810118,"number":14086,"title":"Towards PHP 7 compatibility","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-03-27T17:23:03Z","updated_at":"2015-07-16T16:11:58Z","closed_at":null,"body":"PHP 7 is meant to be released at the end of the year. At this time, our supported versions will be 2.3, 2.6 (security-only), 2.7 and 3.0. Each of these versions will need to be compatible with PHP 7.\r\n\r\nCurrently, Travis is running our testsuite against PHP 7 nightly, showing that this goal is not yet reached.\r\n\r\nA bunch of tests are triggering fatal errors. We should debug the reason for that, to see whether it is a regression in PHP (which should be reported to them as soon as possible) or something related to one of the PHP 7 BC breaks, requiring to fix our code:\r\n\r\n- form tests: https://travis-ci.org/symfony/symfony/jobs/56106607#L355\r\n- security tests: https://travis-ci.org/symfony/symfony/jobs/56106607#L411\r\n- translation tests: https://travis-ci.org/symfony/symfony/jobs/56106607#L562 ``string`` cannot be used as class name (reserved because of scalar type hints)\r\n\r\nExcept these components where we cannot run tests because of these errors, the only remaining failures on PHP 7 for Symfony 2.3 (you can check Travis builds for other branches to see whether there are more in newer versions) are the parsing of hexadecimal numeric strings in XmlUtils and Yaml because PHP 7 does not cast them as int anymore. We will need to implement this conversion separately.\r\nIt would be great to start working on the PHP 7 compatibility soon (especially for the issue with class names being reserved because it might require deprecating a class name in favor of a new one, which should be done before the 2.7 release)"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/122005790","html_url":"https://github.com/symfony/symfony/issues/14086#issuecomment-122005790","issue_url":"https://api.github.com/repos/symfony/symfony/issues/14086","id":122005790,"user":{"login":"changloong","id":15623,"avatar_url":"https://avatars.githubusercontent.com/u/15623?v=3","gravatar_id":"","url":"https://api.github.com/users/changloong","html_url":"https://github.com/changloong","followers_url":"https://api.github.com/users/changloong/followers","following_url":"https://api.github.com/users/changloong/following{/other_user}","gists_url":"https://api.github.com/users/changloong/gists{/gist_id}","starred_url":"https://api.github.com/users/changloong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/changloong/subscriptions","organizations_url":"https://api.github.com/users/changloong/orgs","repos_url":"https://api.github.com/users/changloong/repos","events_url":"https://api.github.com/users/changloong/events{/privacy}","received_events_url":"https://api.github.com/users/changloong/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T16:11:58Z","updated_at":"2015-07-16T16:11:58Z","body":"Hi @fabpot \r\n\r\nI think I can work on this and make some pull request when I pass my local test:)   "}}