{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/zephir/issues/741","labels_url":"https://api.github.com/repos/phalcon/zephir/issues/741/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/zephir/issues/741/comments","events_url":"https://api.github.com/repos/phalcon/zephir/issues/741/events","html_url":"https://github.com/phalcon/zephir/issues/741","id":56004969,"number":741,"title":"[NFR] for & foreach","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},"labels":[{"url":"https://api.github.com/repos/phalcon/zephir/labels/discussion","name":"discussion","color":"009800"},{"url":"https://api.github.com/repos/phalcon/zephir/labels/NFR","name":"NFR","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-30T07:59:09Z","updated_at":"2015-02-14T09:24:35Z","closed_at":null,"body":"From the current documentation\r\n> A `for` is a control structure that allows to traverse arrays or strings:\r\n\r\nHmm.. Frankly it's like a `foreach`. but where are `for`?!\r\nC/C++ and PHP have `foreach` and `for`.\r\n\r\nSorry if I ask a stupid question, but you could you please implement the full (conventional) support for `for`?\r\n\r\n```php\r\nfor ($i = 0; $i < 10; $i++) {\r\n    echo $i;\r\n}\r\n```\r\n\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/phalcon/zephir/issues/comments/74368278","html_url":"https://github.com/phalcon/zephir/issues/741#issuecomment-74368278","issue_url":"https://api.github.com/repos/phalcon/zephir/issues/741","id":74368278,"user":{"login":"xutongle","id":1439155,"avatar_url":"https://avatars.githubusercontent.com/u/1439155?v=3","gravatar_id":"","url":"https://api.github.com/users/xutongle","html_url":"https://github.com/xutongle","followers_url":"https://api.github.com/users/xutongle/followers","following_url":"https://api.github.com/users/xutongle/following{/other_user}","gists_url":"https://api.github.com/users/xutongle/gists{/gist_id}","starred_url":"https://api.github.com/users/xutongle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xutongle/subscriptions","organizations_url":"https://api.github.com/users/xutongle/orgs","repos_url":"https://api.github.com/users/xutongle/repos","events_url":"https://api.github.com/users/xutongle/events{/privacy}","received_events_url":"https://api.github.com/users/xutongle/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T09:24:35Z","updated_at":"2015-02-14T09:24:35Z","body":"```\r\nfor ($i = 0; $i <= 10; $i++) {\r\n    echo $i;\r\n}\r\n```\r\n碰到这种很郁闷"}}