mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
removed ZEND_IS_XDIGIT()
(#18926)
This commit is contained in:
parent
fc04966c36
commit
537ae4f990
2 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,8 @@ PHP 8.5 INTERNALS UPGRADE NOTES
|
||||||
. Added the zend_update_exception_properties() function for instantiating
|
. Added the zend_update_exception_properties() function for instantiating
|
||||||
Exception child classes. It updates the $message, $code, and $previous
|
Exception child classes. It updates the $message, $code, and $previous
|
||||||
properties.
|
properties.
|
||||||
|
. ZEND_IS_XDIGIT() macro was removed because it was unused and its name
|
||||||
|
did not match its actual behavior.
|
||||||
|
|
||||||
========================
|
========================
|
||||||
2. Build system changes
|
2. Build system changes
|
||||||
|
|
|
@ -156,7 +156,6 @@ static zend_always_inline zend_long zend_dval_to_lval_safe(double d)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ZEND_IS_DIGIT(c) ((c) >= '0' && (c) <= '9')
|
#define ZEND_IS_DIGIT(c) ((c) >= '0' && (c) <= '9')
|
||||||
#define ZEND_IS_XDIGIT(c) (((c) >= 'A' && (c) <= 'F') || ((c) >= 'a' && (c) <= 'f'))
|
|
||||||
|
|
||||||
static zend_always_inline uint8_t is_numeric_string_ex(const char *str, size_t length, zend_long *lval,
|
static zend_always_inline uint8_t is_numeric_string_ex(const char *str, size_t length, zend_long *lval,
|
||||||
double *dval, bool allow_errors, int *oflow_info, bool *trailing_data)
|
double *dval, bool allow_errors, int *oflow_info, bool *trailing_data)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue