Skip to content
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

PDO: Throw exception instead if silently failing #384

Merged
merged 3 commits into from
Dec 20, 2020
Merged

Conversation

glensc
Copy link
Contributor

@glensc glensc commented Dec 20, 2020

An apparently a simple view like http://xhgui.127.0.0.1.xip.io:8142/url/view?url=%2Fview.php%3Fid returned null type, which on PHP 7.4 results accessing null as an array and is an error.

This is call developers: implement (even partial) support rather than returning wrong types (null).

@glensc glensc added this to the Next milestone Dec 20, 2020
@glensc glensc self-assigned this Dec 20, 2020
@glensc glensc merged commit c8de77c into master Dec 20, 2020
@glensc glensc deleted the pdo-exceptions branch December 20, 2020 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant