Commit d837199d7a2 for php.net

commit d837199d7a29262e40d3077f45554211c8e7d73c
Merge: 56d1ffca585 4c8dabf6987
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Mon Jun 1 20:22:00 2026 +0200

    Merge branch 'PHP-8.5'

    * PHP-8.5:
      Fix -Werror compile error in `zend_dval_to_lval_cap()` (#22196)

diff --cc Zend/zend_operators.h
index 2dc6dbfbfc6,5478e164c17..530fb22806a
--- a/Zend/zend_operators.h
+++ b/Zend/zend_operators.h
@@@ -145,8 -146,9 +145,9 @@@ static zend_always_inline zend_long zen
  }

  /* Used to convert a string float to integer during an (int) cast */
 -static zend_always_inline zend_long zend_dval_to_lval_cap(double d, const zend_string *s)
 +static zend_always_inline zend_long zend_dval_to_lval_cap(double d)
  {
+ 	ZEND_IGNORE_VALUE(s);
  	if (UNEXPECTED(!zend_finite(d))) {
  		return 0;
  	} else if (!ZEND_DOUBLE_FITS_LONG(d)) {