mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
removed ZEND_IS_XDIGIT() (#18926)
This commit is contained in:
@@ -43,6 +43,8 @@ PHP 8.5 INTERNALS UPGRADE NOTES
|
||||
. Added the zend_update_exception_properties() function for instantiating
|
||||
Exception child classes. It updates the $message, $code, and $previous
|
||||
properties.
|
||||
. ZEND_IS_XDIGIT() macro was removed because it was unused and its name
|
||||
did not match its actual behavior.
|
||||
|
||||
========================
|
||||
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_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,
|
||||
double *dval, bool allow_errors, int *oflow_info, bool *trailing_data)
|
||||
|
||||
Reference in New Issue
Block a user