summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-12-25 13:18:45 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-12-26 12:39:06 +0100
commitb2b2b437af5495dcb2016be6e45567ed826cb87e (patch)
tree7cf17c011f6b9c272eebf184fa47d5c35f455b2f /ext/pcre/php_pcre.c
parentefcbea43455ca4e27ec6fc5ce2f3a740a981247e (diff)
downloadphp-git-b2b2b437af5495dcb2016be6e45567ed826cb87e.tar.gz
Add _IS_NUMBER as cast_object() target type
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.
Diffstat (limited to 'ext/pcre/php_pcre.c')
0 files changed, 0 insertions, 0 deletions