{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/zephir/issues/1308","repository_url":"https://api.github.com/repos/phalcon/zephir","labels_url":"https://api.github.com/repos/phalcon/zephir/issues/1308/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/zephir/issues/1308/comments","events_url":"https://api.github.com/repos/phalcon/zephir/issues/1308/events","html_url":"https://github.com/phalcon/zephir/pull/1308","id":173960958,"number":1308,"title":"Fixed PHP7 (ZendEngine3) zephir_array_isset_string_fetch, zephir_array_isset_long_fetch when source and destination pointers are equal","user":{"login":"allflame","id":6976790,"avatar_url":"https://avatars.githubusercontent.com/u/6976790?v=3","gravatar_id":"","url":"https://api.github.com/users/allflame","html_url":"https://github.com/allflame","followers_url":"https://api.github.com/users/allflame/followers","following_url":"https://api.github.com/users/allflame/following{/other_user}","gists_url":"https://api.github.com/users/allflame/gists{/gist_id}","starred_url":"https://api.github.com/users/allflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allflame/subscriptions","organizations_url":"https://api.github.com/users/allflame/orgs","repos_url":"https://api.github.com/users/allflame/repos","events_url":"https://api.github.com/users/allflame/events{/privacy}","received_events_url":"https://api.github.com/users/allflame/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-30T08:38:20Z","updated_at":"2016-08-30T09:16:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phalcon/zephir/pulls/1308","html_url":"https://github.com/phalcon/zephir/pull/1308","diff_url":"https://github.com/phalcon/zephir/pull/1308.diff","patch_url":"https://github.com/phalcon/zephir/pull/1308.patch"},"body":"Problem arises when you write something like fetch a, a[key] using zephir.\r\nIn` zephir_array_isset_string_fetch` and `zephir_array_isset_long_fetch` is_null flag will be set on source zval internal structure (since source and destination point to the same memory address) before evaluating `likely(Z_TYPE_P(arr) == IS_ARRAY)` which will result in failing the condition and return 0\r\nCheck ZendEngine2/array.c for comparison.\r\n\r\nWill resolve  phalcon/cphalcon#12147"},"comment":{"url":"https://api.github.com/repos/phalcon/zephir/issues/comments/243381170","html_url":"https://github.com/phalcon/zephir/pull/1308#issuecomment-243381170","issue_url":"https://api.github.com/repos/phalcon/zephir/issues/1308","id":243381170,"user":{"login":"allflame","id":6976790,"avatar_url":"https://avatars.githubusercontent.com/u/6976790?v=3","gravatar_id":"","url":"https://api.github.com/users/allflame","html_url":"https://github.com/allflame","followers_url":"https://api.github.com/users/allflame/followers","following_url":"https://api.github.com/users/allflame/following{/other_user}","gists_url":"https://api.github.com/users/allflame/gists{/gist_id}","starred_url":"https://api.github.com/users/allflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allflame/subscriptions","organizations_url":"https://api.github.com/users/allflame/orgs","repos_url":"https://api.github.com/users/allflame/repos","events_url":"https://api.github.com/users/allflame/events{/privacy}","received_events_url":"https://api.github.com/users/allflame/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T09:16:48Z","updated_at":"2016-08-30T09:16:48Z","body":"@andresgutierrez \r\nhttps://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/model/resultset/simple.zep#L204\r\nhttps://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/model.zep#L3630"}}
{"actor":{"display_login":"allflame"}}