]> granicus.if.org Git - php/commit
Don't explicitly set return value on ZFR failure in ext/xmlwriter
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 3 Sep 2019 07:15:41 +0000 (09:15 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 3 Sep 2019 07:17:08 +0000 (09:17 +0200)
commit7695049b868eaeccc0b26d8413e78ed74172e8e0
tree8bcf11dd4848be87c026cfd1e8239860627fc7e2
parent489dec18fcb3153b2c4f58a47cf43566c4dd69c5
Don't explicitly set return value on ZFR failure in ext/xmlwriter

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/xmlwriter/php_xmlwriter.c