summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre_arginfo.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-02-16 16:41:43 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-02-16 16:48:35 +0100
commit6ee6097688a8c64e0e0ba166d48b16a93bf107a2 (patch)
tree9157214fbb184a14da756c195897ccf40e441d85 /ext/pcre/php_pcre_arginfo.h
parentd9b80efb57ad46a5ba80581d823957471bfe4db0 (diff)
downloadphp-git-6ee6097688a8c64e0e0ba166d48b16a93bf107a2.tar.gz
Constrain number parameter of numfmt_format to int|float
This is inline with similar changes to the math functions. Especially, array to number conversion makes no sense here, and is likely to hide a programming error. To make that feasible, we introduce the `n` specifier for classic ZPP so we can stick with `zend_parse_method_parameters()`. We also remove a test case, which has been degenerated to a ZPP test.
Diffstat (limited to 'ext/pcre/php_pcre_arginfo.h')
0 files changed, 0 insertions, 0 deletions