{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/zephir/issues/952","labels_url":"https://api.github.com/repos/phalcon/zephir/issues/952/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/zephir/issues/952/comments","events_url":"https://api.github.com/repos/phalcon/zephir/issues/952/events","html_url":"https://github.com/phalcon/zephir/issues/952","id":76561415,"number":952,"title":"PHP7","user":{"login":"andresgutierrez","id":213590,"avatar_url":"https://avatars.githubusercontent.com/u/213590?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgutierrez","html_url":"https://github.com/andresgutierrez","followers_url":"https://api.github.com/users/andresgutierrez/followers","following_url":"https://api.github.com/users/andresgutierrez/following{/other_user}","gists_url":"https://api.github.com/users/andresgutierrez/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgutierrez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgutierrez/subscriptions","organizations_url":"https://api.github.com/users/andresgutierrez/orgs","repos_url":"https://api.github.com/users/andresgutierrez/repos","events_url":"https://api.github.com/users/andresgutierrez/events{/privacy}","received_events_url":"https://api.github.com/users/andresgutierrez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2015-05-15T02:24:52Z","updated_at":"2015-10-26T14:43:13Z","closed_at":null,"body":"It seems the generation of extensions from PHP5 changes dramatically in PHP7 due to the modifications to internal structures.\r\n\r\nAs I see it will require:\r\n\r\n* A separate kernel specifically focused on PHP7\r\n* A new memory manager designed to address the reference counting changes in PHP7\r\n* A new approach on generating method/function calls\r\n* A new approach on reusing zval variables\r\n* It would be hard to have a common generated code for both PHP5 and PHP7\r\n\r\nAlso, It seems that the amount of changes is larger than I expected previously and I think these changes will take many hours and it's something we have to address as soon as possible before move forward.\r\n\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14956774-php7?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/phalcon/zephir/issues/comments/151160446","html_url":"https://github.com/phalcon/zephir/issues/952#issuecomment-151160446","issue_url":"https://api.github.com/repos/phalcon/zephir/issues/952","id":151160446,"user":{"login":"steffengy","id":1194855,"avatar_url":"https://avatars.githubusercontent.com/u/1194855?v=3","gravatar_id":"","url":"https://api.github.com/users/steffengy","html_url":"https://github.com/steffengy","followers_url":"https://api.github.com/users/steffengy/followers","following_url":"https://api.github.com/users/steffengy/following{/other_user}","gists_url":"https://api.github.com/users/steffengy/gists{/gist_id}","starred_url":"https://api.github.com/users/steffengy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffengy/subscriptions","organizations_url":"https://api.github.com/users/steffengy/orgs","repos_url":"https://api.github.com/users/steffengy/repos","events_url":"https://api.github.com/users/steffengy/events{/privacy}","received_events_url":"https://api.github.com/users/steffengy/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T14:43:13Z","updated_at":"2015-10-26T14:43:13Z","body":"zephir build --backend ZendEngine3 works fine for me.\r\n```zephir build --backend=ZendEngine3``` might solve the issue, but shouldn't be necessary."}}