I believe I have an issue similar to #24 , where the original issue was that statements such as SELECT * FROM table WHERE id IN(0,-1,-2,-3) caused the list of numbers to be parsed as 0,-,1,-,2,-,3 I think the problem is only partly fixed, and a statement such as SELECT * FROM table WHERE id IN(0, -1, -2, -3) (note the spaces) will still exhibit the same issue.
I have been able to address this locally by changing line 127 of PHPSQLLexar.php from
I believe I have an issue similar to #24 , where the original issue was that statements such as
SELECT * FROM table WHERE id IN(0,-1,-2,-3)
caused the list of numbers to be parsed as0,-,1,-,2,-,3
I think the problem is only partly fixed, and a statement such asSELECT * FROM table WHERE id IN(0, -1, -2, -3)
(note the spaces) will still exhibit the same issue.I have been able to address this locally by changing line 127 of PHPSQLLexar.php from
to
but I am not familiar enough with the code to know if this is a viable fix.