[php-src] PR #23398: Zend: Add `zend_try_get_double`

From: Date: Fri, 21 Aug 2026 10:55:12 +0000
Subject: [php-src] PR #23398: Zend: Add `zend_try_get_double`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38034@lists.php.net to get a copy of this message
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

« previous php.git-pulls (#38034) next »