]> granicus.if.org Git - php/commit
Don't explicitly set return value on ZFR failure in ext/odbc
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 28 Aug 2019 16:44:57 +0000 (18:44 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Wed, 28 Aug 2019 16:53:26 +0000 (18:53 +0200)
commit4669c53fcc01e688ab704ebc488feb0db4aa7c6e
treea7b47b11b30220433eabbc88bcbc8a9f0cafd209
parente04eb283755762a41dd8f0346822b96074ae5cb6
Don't explicitly set return value on ZFR failure in ext/odbc

Failing `zend_fetch_resource(2)` throws as of PHP 8.0.0, so explicitly
setting a return value is useless, and also slightly confusing.
ext/odbc/php_odbc.c