{"action":"created","issue":{"url":"https://api.github.com/repos/fuel/core/issues/2008","repository_url":"https://api.github.com/repos/fuel/core","labels_url":"https://api.github.com/repos/fuel/core/issues/2008/labels{/name}","comments_url":"https://api.github.com/repos/fuel/core/issues/2008/comments","events_url":"https://api.github.com/repos/fuel/core/issues/2008/events","html_url":"https://github.com/fuel/core/issues/2008","id":166650991,"number":2008,"title":"Latest commit causes Fuel 1.8 to no longer work in PHP 5.3","user":{"login":"willpoorman","id":14079950,"avatar_url":"https://avatars.githubusercontent.com/u/14079950?v=3","gravatar_id":"","url":"https://api.github.com/users/willpoorman","html_url":"https://github.com/willpoorman","followers_url":"https://api.github.com/users/willpoorman/followers","following_url":"https://api.github.com/users/willpoorman/following{/other_user}","gists_url":"https://api.github.com/users/willpoorman/gists{/gist_id}","starred_url":"https://api.github.com/users/willpoorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willpoorman/subscriptions","organizations_url":"https://api.github.com/users/willpoorman/orgs","repos_url":"https://api.github.com/users/willpoorman/repos","events_url":"https://api.github.com/users/willpoorman/events{/privacy}","received_events_url":"https://api.github.com/users/willpoorman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T18:34:53Z","updated_at":"2016-07-20T18:38:47Z","closed_at":null,"body":"Commit e8f2345 adds in syntax that does not work in PHP 5.3. \r\nI.e. in the COREPATH/classes/database/connection.php on line 248:\r\n`return (new \\Database_Query_Builder_Select($args))->set_connection($this);`\r\nis not valid PHP 5.3 syntax.\r\n\r\nSpecifically, you cannot call a method from an object that was created in the same line.\r\nSee: [http://stackoverflow.com/questions/13388541/php-parse-error-syntax-error-unexpected-t-object-operator](url)\r\n\r\nThis works in PHP 5.4, but not in 5.3.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fuel/core/issues/comments/234041407","html_url":"https://github.com/fuel/core/issues/2008#issuecomment-234041407","issue_url":"https://api.github.com/repos/fuel/core/issues/2008","id":234041407,"user":{"login":"stevewest","id":2370734,"avatar_url":"https://avatars.githubusercontent.com/u/2370734?v=3","gravatar_id":"","url":"https://api.github.com/users/stevewest","html_url":"https://github.com/stevewest","followers_url":"https://api.github.com/users/stevewest/followers","following_url":"https://api.github.com/users/stevewest/following{/other_user}","gists_url":"https://api.github.com/users/stevewest/gists{/gist_id}","starred_url":"https://api.github.com/users/stevewest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevewest/subscriptions","organizations_url":"https://api.github.com/users/stevewest/orgs","repos_url":"https://api.github.com/users/stevewest/repos","events_url":"https://api.github.com/users/stevewest/events{/privacy}","received_events_url":"https://api.github.com/users/stevewest/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T18:38:47Z","updated_at":"2016-07-20T18:38:47Z","body":"Given that PHP5.3 has not been supported for a long while I think the\nadvice here is to upgrade to a newer php version.\n\nIt's worth updating for the speed improvements alone, not to mention the\nsecurity fixes.\n\nOn 20 Jul 2016 7:34 p.m., \"Will Poorman\" <notifications@github.com> wrote:\n\n> Commit e8f2345\n> <https://github.com/fuel/core/commit/e8f23453e315ee6a0572837bd853e2e5d3d20ee2>\n> adds in syntax that does not work in PHP 5.3.\n> I.e. in the COREPATH/classes/database/connection.php on line 248:\n> return (new \\Database_Query_Builder_Select($args))->set_connection($this);\n> is not valid PHP 5.3 syntax.\n>\n> Specifically, you cannot call a method from an object that was created in\n> the same line.\n> See:\n> http://stackoverflow.com/questions/13388541/php-parse-error-syntax-error-unexpected-t-object-operator\n> <http://url>\n>\n> This works in PHP 5.4, but not in 5.3.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/fuel/core/issues/2008>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ACQsrsNGyFidH6GKf1PD0j6dwG6Pk_eaks5qXmpPgaJpZM4JREzy>\n> .\n>\n"}}
{"actor":{"display_login":"stevewest"}}