]> granicus.if.org Git - php/commit
Don't perform coercions in internal func return type assertion
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 3 Sep 2019 10:16:04 +0000 (12:16 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 3 Sep 2019 10:16:04 +0000 (12:16 +0200)
commit52d31bf1390fb87b86b3a8f2abd3aedaacfb1ad9
tree5e970c31a0cf7dfed76cda5bf93e3611493119a2
parent24d8cbce54b1d8e193ad05227f3106783bcf3968
Don't perform coercions in internal func return type assertion

The returned value must match the specified type exactly, as we
can't perform any coercions in non-debug builds.

Fix incorrect stub for easter_date() that slipped through the
assertion for this reason...
Zend/zend_execute.c
ext/calendar/calendar.stub.php
ext/calendar/calendar_arginfo.h