[GIT-PULLS] [php-src] PR #23398: Zend: Add `zend_try_get_double`
[email protected] (LamentXU123)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
Pull Request: https://github.com/php/php-src/pull/23398 Author: LamentXU123 See https://github.com/php/php-tasks/issues/32. Given now we have corresponding `try` functions to almost every `zval_get_TYPE` functions except double, it is reasonable to add `zend_try_get_double`. A quick search shows that there are 62 occasions of `zend_get_double` in the code base. A real-world bug example is in https://github.com/php/php-src/pull/23384#discussion_r3814915634_ cc @Girgias