mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
b2b2b437af
convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an integer or floating point number, whichever is more appropriate. Previously convert_scalar_to_number() unconditionally converted objects to integers instead. Fixes bug #53033. Fixes bug #54973. Fixes bug #73108.
409 B
409 B