-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop mysql syntax error exceptions #4312
Conversation
…RROR_JIT_STACKLIMIT when calling pcre_exec()
This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D29409 |
Sorry, we're not going to take this. While yes, this is incompatible with PHP5, this is only incompatible when your SQL has a syntax error. Making this visible seems like a good thing. |
Throwing exceptions where PHP does not is not a good idea and doesn't seem like a good thing... I see the good side of it, but not when it is forced. |
We generally agree, however this isn't for a runtime error as such - this is showing a fundamental flaw in whatever PHP code triggers it, and likely a security issue at that. |
Also, this code already throws in PHP5 for other kinds of errors. |
No description provided.