{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/zephir/issues/1346","repository_url":"https://api.github.com/repos/phalcon/zephir","labels_url":"https://api.github.com/repos/phalcon/zephir/issues/1346/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/zephir/issues/1346/comments","events_url":"https://api.github.com/repos/phalcon/zephir/issues/1346/events","html_url":"https://github.com/phalcon/zephir/issues/1346","id":185915051,"number":1346,"title":"call_user_func parent scope","user":{"login":"mervick","id":2429298,"avatar_url":"https://avatars.githubusercontent.com/u/2429298?v=3","gravatar_id":"","url":"https://api.github.com/users/mervick","html_url":"https://github.com/mervick","followers_url":"https://api.github.com/users/mervick/followers","following_url":"https://api.github.com/users/mervick/following{/other_user}","gists_url":"https://api.github.com/users/mervick/gists{/gist_id}","starred_url":"https://api.github.com/users/mervick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mervick/subscriptions","organizations_url":"https://api.github.com/users/mervick/orgs","repos_url":"https://api.github.com/users/mervick/repos","events_url":"https://api.github.com/users/mervick/events{/privacy}","received_events_url":"https://api.github.com/users/mervick/received_events","type":"User","site_admin":false},"labels":[{"id":428468996,"url":"https://api.github.com/repos/phalcon/zephir/labels/need%20script%20to%20reproduce","name":"need script to reproduce","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-28T12:48:54Z","updated_at":"2016-10-28T22:07:41Z","closed_at":null,"body":"When used `call_user_func` with `parent` scope like below\r\n```php\r\ncall_user_func([\"parent\", \"__construct\"]);\r\n```\r\nthen php throws warning \r\n```\r\nWarning: call_user_func() expects parameter 1 to be a valid callback, cannot access parent:: when no class scope is active in ...\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/38768202-call_user_func-parent-scope?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/257040492","html_url":"https://github.com/phalcon/zephir/issues/1346#issuecomment-257040492","issue_url":"https://api.github.com/repos/phalcon/zephir/issues/1346","id":257040492,"user":{"login":"sergeyklay","id":1256298,"avatar_url":"https://avatars.githubusercontent.com/u/1256298?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyklay","html_url":"https://github.com/sergeyklay","followers_url":"https://api.github.com/users/sergeyklay/followers","following_url":"https://api.github.com/users/sergeyklay/following{/other_user}","gists_url":"https://api.github.com/users/sergeyklay/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyklay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyklay/subscriptions","organizations_url":"https://api.github.com/users/sergeyklay/orgs","repos_url":"https://api.github.com/users/sergeyklay/repos","events_url":"https://api.github.com/users/sergeyklay/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyklay/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T22:07:41Z","updated_at":"2016-10-28T22:07:41Z","body":"As you probably understand I need to reprodiuce your issue. So please provide all that is needed, eg script to reproduce"}}
{"actor":{"display_login":"sergeyklay"}}