{"action":"created","issue":{"url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/issues/159","labels_url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/issues/159/comments","events_url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/issues/159/events","html_url":"https://github.com/greenlion/PHP-SQL-Parser/issues/159","id":89109832,"number":159,"title":"Scientific numbers incorrectly parsed","user":{"login":"witchi","id":5766508,"avatar_url":"https://avatars.githubusercontent.com/u/5766508?v=3","gravatar_id":"","url":"https://api.github.com/users/witchi","html_url":"https://github.com/witchi","followers_url":"https://api.github.com/users/witchi/followers","following_url":"https://api.github.com/users/witchi/following{/other_user}","gists_url":"https://api.github.com/users/witchi/gists{/gist_id}","starred_url":"https://api.github.com/users/witchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witchi/subscriptions","organizations_url":"https://api.github.com/users/witchi/orgs","repos_url":"https://api.github.com/users/witchi/repos","events_url":"https://api.github.com/users/witchi/events{/privacy}","received_events_url":"https://api.github.com/users/witchi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-17T19:58:35Z","updated_at":"2015-06-17T19:59:00Z","closed_at":null,"body":"_From [adrian.p...@googlemail.com](https://code.google.com/u/116057851280130181832/) on March 25, 2014 17:27:40_\n\nScientific numbers are incorrectly parsed as in this query:\r\n\r\nSELECT x,y,z FROM MDR1.Particles85 WHERE RAND(154321) \\<= 2.91E-5\r\n\r\nThe 2.91E-5 part becomes:\r\n\r\n    [2]=>\r\n    array(4) {\r\n      [\"expr_type\"]=>\r\n      string(6) \"colref\"\r\n      [\"base_expr\"]=>\r\n      string(5) \"2.91E\"\r\n      [\"no_quotes\"]=>\r\n      array(2) {\r\n        [\"delim\"]=>\r\n        string(1) \".\"\r\n        [\"parts\"]=>\r\n        array(2) {\r\n          [0]=>\r\n          string(1) \"2\"\r\n          [1]=>\r\n          string(3) \"91E\"\r\n        }\r\n      }\r\n      [\"sub_tree\"]=>\r\n      bool(false)\r\n    }\r\n    [3]=>\r\n    array(3) {\r\n      [\"expr_type\"]=>\r\n      string(8) \"operator\"\r\n      [\"base_expr\"]=>\r\n      string(1) \"-\"\r\n      [\"sub_tree\"]=>\r\n      bool(false)\r\n    }\r\n    [4]=>\r\n    array(3) {\r\n      [\"expr_type\"]=>\r\n      string(5) \"const\"\r\n      [\"base_expr\"]=>\r\n      string(1) \"5\"\r\n      [\"sub_tree\"]=>\r\n      bool(false)\r\n    }\n\n_Original issue: http://code.google.com/p/php-sql-parser/issues/detail?id=133_"},"comment":{"url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/issues/comments/112928452","html_url":"https://github.com/greenlion/PHP-SQL-Parser/issues/159#issuecomment-112928452","issue_url":"https://api.github.com/repos/greenlion/PHP-SQL-Parser/issues/159","id":112928452,"user":{"login":"witchi","id":5766508,"avatar_url":"https://avatars.githubusercontent.com/u/5766508?v=3","gravatar_id":"","url":"https://api.github.com/users/witchi","html_url":"https://github.com/witchi","followers_url":"https://api.github.com/users/witchi/followers","following_url":"https://api.github.com/users/witchi/following{/other_user}","gists_url":"https://api.github.com/users/witchi/gists{/gist_id}","starred_url":"https://api.github.com/users/witchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/witchi/subscriptions","organizations_url":"https://api.github.com/users/witchi/orgs","repos_url":"https://api.github.com/users/witchi/repos","events_url":"https://api.github.com/users/witchi/events{/privacy}","received_events_url":"https://api.github.com/users/witchi/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T19:59:00Z","updated_at":"2015-06-17T19:59:00Z","body":"_From [pho...@gmx.de](https://code.google.com/u/109317404671582518013/) on April 01, 2014 10:48:08_\n\n**Status:** Fixed  \n"}}