When writing a null byte inside your file path to your SQLite database it's possible to receive an TypeError (for PHP >= 7) in return.
For older PHP versions we're already handling the thrown Exception.
@clue I didn't noticed that there already was logic for older PHP versions to handle this scenario.
I've updated my changes to fit into the existing logic!
When writing a null byte inside your file path to your SQLite database it's possible to receive an
TypeError
(for PHP >= 7) in return. For older PHP versions we're already handling the thrownException
.