David Grudl
David Grudl
That's strange that it doesn't work, because there is a test for that and it passes even in PHP 8.0 https://github.com/dg/bypass-finals/blob/7377e1f8143a75063049c589bd6fb24eeaf430d6/tests/BypassFinals/native.errors.phpt#L78
Hi @maks-rafalko. What do you think, would something like this work? That would just be BypassFinal run as a second one and it tries to call the previously defined wrapper....
@maks-rafalko It looks like you can't register another wrapper inside stream_open... I tried a different approach https://github.com/dg/bypass-finals/commit/aa882485188494ae831da14d1139ed3bdd161e41
I have added more information to the readme.
Yes, it does.
I will never want to solve something just a little complicated :-) So feel free to suggest PR, issues will not work.
Run all tests in warning mode and exception mode seems better to me. > I'm not shure what happend whan connection dies before ->rowCount() is called. It's hard to test,...
Another option is to have two drivers, one for exception mode and one for warnings mode. And forbid silent mode (it is nonsense mode). And another one option: to switch...
I think it would be best to do a BC break and add support (only) for `PDO::ERRMODE_EXCEPTION` in dibi 5.0 and keep version 4.2 as it is. What do you...
I think ORDER BY must be added by programmer, because he knows how to order rows. ORDER BY 1 solves nothing.