{"action":"closed","number":1026,"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/1026","id":28065393,"html_url":"https://github.com/php/php-src/pull/1026","diff_url":"https://github.com/php/php-src/pull/1026.diff","patch_url":"https://github.com/php/php-src/pull/1026.patch","issue_url":"https://api.github.com/repos/php/php-src/issues/1026","number":1026,"state":"closed","locked":false,"title":"Remove $this from incompatible context","user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"body":" * If we can detect at compile-time that a function uses $this,\r\n   then ZEND_ACC_ALLOW_STATIC flag will not be set.\r\n * A static call (either without object or object from an incompatible\r\n   class) to a non-static method without ZEND_ACC_ALLOW_STATIC will\r\n   generate a fatal error.\r\n * If static calls are allowed an E_DEPRECATED will be generated.\r\n * In this case $this will be NULL. This makes sure that even\r\n   obscured (varvar) usages of $this will not be able to access an\r\n   object from an incompatible context.","created_at":"2015-01-26T22:17:14Z","updated_at":"2015-02-27T22:30:22Z","closed_at":"2015-02-27T22:30:22Z","merged_at":null,"merge_commit_sha":"ba9ed8061fee4608fc38582af16287847f19bad6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/php/php-src/pulls/1026/commits","review_comments_url":"https://api.github.com/repos/php/php-src/pulls/1026/comments","review_comment_url":"https://api.github.com/repos/php/php-src/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php/php-src/issues/1026/comments","statuses_url":"https://api.github.com/repos/php/php-src/statuses/4b08c661deacdf8118f8b92ed7df575729db1e8b","head":{"label":"nikic:incompatCtx","ref":"incompatCtx","sha":"4b08c661deacdf8118f8b92ed7df575729db1e8b","user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"repo":{"id":3812501,"name":"php-src","full_name":"nikic/php-src","owner":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikic/php-src","description":"The PHP Interpreter","fork":true,"url":"https://api.github.com/repos/nikic/php-src","forks_url":"https://api.github.com/repos/nikic/php-src/forks","keys_url":"https://api.github.com/repos/nikic/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikic/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikic/php-src/teams","hooks_url":"https://api.github.com/repos/nikic/php-src/hooks","issue_events_url":"https://api.github.com/repos/nikic/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/nikic/php-src/events","assignees_url":"https://api.github.com/repos/nikic/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/nikic/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/nikic/php-src/tags","blobs_url":"https://api.github.com/repos/nikic/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikic/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikic/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikic/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikic/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/nikic/php-src/languages","stargazers_url":"https://api.github.com/repos/nikic/php-src/stargazers","contributors_url":"https://api.github.com/repos/nikic/php-src/contributors","subscribers_url":"https://api.github.com/repos/nikic/php-src/subscribers","subscription_url":"https://api.github.com/repos/nikic/php-src/subscription","commits_url":"https://api.github.com/repos/nikic/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikic/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikic/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikic/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikic/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/nikic/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikic/php-src/merges","archive_url":"https://api.github.com/repos/nikic/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikic/php-src/downloads","issues_url":"https://api.github.com/repos/nikic/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/nikic/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/nikic/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/nikic/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikic/php-src/labels{/name}","releases_url":"https://api.github.com/repos/nikic/php-src/releases{/id}","created_at":"2012-03-23T20:55:49Z","updated_at":"2015-02-25T07:12:31Z","pushed_at":"2015-02-19T19:26:55Z","git_url":"git://github.com/nikic/php-src.git","ssh_url":"git@github.com:nikic/php-src.git","clone_url":"https://github.com/nikic/php-src.git","svn_url":"https://github.com/nikic/php-src","homepage":"http://www.php.net","size":211029,"stargazers_count":23,"watchers_count":23,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":0,"forks":4,"open_issues":0,"watchers":23,"default_branch":"master"}},"base":{"label":"php:master","ref":"master","sha":"5845f2c0c116accac6bdd60a6b35ff05aa604ca5","user":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"repo":{"id":1903522,"name":"php-src","full_name":"php/php-src","owner":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php/php-src","description":"The PHP Interpreter","fork":false,"url":"https://api.github.com/repos/php/php-src","forks_url":"https://api.github.com/repos/php/php-src/forks","keys_url":"https://api.github.com/repos/php/php-src/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php/php-src/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php/php-src/teams","hooks_url":"https://api.github.com/repos/php/php-src/hooks","issue_events_url":"https://api.github.com/repos/php/php-src/issues/events{/number}","events_url":"https://api.github.com/repos/php/php-src/events","assignees_url":"https://api.github.com/repos/php/php-src/assignees{/user}","branches_url":"https://api.github.com/repos/php/php-src/branches{/branch}","tags_url":"https://api.github.com/repos/php/php-src/tags","blobs_url":"https://api.github.com/repos/php/php-src/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php/php-src/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php/php-src/git/refs{/sha}","trees_url":"https://api.github.com/repos/php/php-src/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php/php-src/statuses/{sha}","languages_url":"https://api.github.com/repos/php/php-src/languages","stargazers_url":"https://api.github.com/repos/php/php-src/stargazers","contributors_url":"https://api.github.com/repos/php/php-src/contributors","subscribers_url":"https://api.github.com/repos/php/php-src/subscribers","subscription_url":"https://api.github.com/repos/php/php-src/subscription","commits_url":"https://api.github.com/repos/php/php-src/commits{/sha}","git_commits_url":"https://api.github.com/repos/php/php-src/git/commits{/sha}","comments_url":"https://api.github.com/repos/php/php-src/comments{/number}","issue_comment_url":"https://api.github.com/repos/php/php-src/issues/comments{/number}","contents_url":"https://api.github.com/repos/php/php-src/contents/{+path}","compare_url":"https://api.github.com/repos/php/php-src/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php/php-src/merges","archive_url":"https://api.github.com/repos/php/php-src/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php/php-src/downloads","issues_url":"https://api.github.com/repos/php/php-src/issues{/number}","pulls_url":"https://api.github.com/repos/php/php-src/pulls{/number}","milestones_url":"https://api.github.com/repos/php/php-src/milestones{/number}","notifications_url":"https://api.github.com/repos/php/php-src/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php/php-src/labels{/name}","releases_url":"https://api.github.com/repos/php/php-src/releases{/id}","created_at":"2011-06-16T01:52:25Z","updated_at":"2015-02-27T22:28:31Z","pushed_at":"2015-02-27T22:28:29Z","git_url":"git://github.com/php/php-src.git","ssh_url":"git@github.com:php/php-src.git","clone_url":"https://github.com/php/php-src.git","svn_url":"https://github.com/php/php-src","homepage":"http://www.php.net","size":1307348,"stargazers_count":5418,"watchers_count":5418,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1940,"mirror_url":null,"open_issues_count":186,"forks":1940,"open_issues":186,"watchers":5418,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php/php-src/pulls/1026"},"html":{"href":"https://github.com/php/php-src/pull/1026"},"issue":{"href":"https://api.github.com/repos/php/php-src/issues/1026"},"comments":{"href":"https://api.github.com/repos/php/php-src/issues/1026/comments"},"review_comments":{"href":"https://api.github.com/repos/php/php-src/pulls/1026/comments"},"review_comment":{"href":"https://api.github.com/repos/php/php-src/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php/php-src/pulls/1026/commits"},"statuses":{"href":"https://api.github.com/repos/php/php-src/statuses/4b08c661deacdf8118f8b92ed7df575729db1e8b"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":129,"deletions":219,"changed_files":23}}