ext/standard: Remove deprecated php_uint32 and php_int32 typedefs

Use the standard uint32_t and int32_t types instead.
This commit is contained in:
Gina Peter Bnayard 2024-08-17 14:04:28 +02:00 committed by Gina Peter Banyard
parent 35ae1523d0
commit 3e05c86c35
2 changed files with 3 additions and 4 deletions

View file

@ -338,6 +338,9 @@ PHP 8.4 INTERNALS UPGRADE NOTES
the caller now. the caller now.
- The php_info_html_esc() function has been removed, use - The php_info_html_esc() function has been removed, use
php_escape_html_entities() with ENT_QUOTES directly instead. php_escape_html_entities() with ENT_QUOTES directly instead.
- The deprecated php_uint32 and php_int32 typedefs have been removed from
ext/standard/basic_functions.h. Use the standard uint32_t and int32_t
types instead.
h. ext/session h. ext/session
- Added the php_get_session_status() API to get the session status, which is - Added the php_get_session_status() API to get the session status, which is

View file

@ -51,10 +51,6 @@ PHPAPI int _php_error_log(int opt_err, const char *message, const char *opt, con
PHPAPI int _php_error_log_ex(int opt_err, const char *message, size_t message_len, const char *opt, const char *headers); PHPAPI int _php_error_log_ex(int opt_err, const char *message, size_t message_len, const char *opt, const char *headers);
PHPAPI int php_prefix_varname(zval *result, zend_string *prefix, const char *var_name, size_t var_name_len, bool add_underscore); PHPAPI int php_prefix_varname(zval *result, zend_string *prefix, const char *var_name, size_t var_name_len, bool add_underscore);
/* Deprecated type aliases -- use the standard types instead */
typedef uint32_t php_uint32;
typedef int32_t php_int32;
typedef struct _php_basic_globals { typedef struct _php_basic_globals {
HashTable *user_shutdown_function_names; HashTable *user_shutdown_function_names;
HashTable putenv_ht; HashTable putenv_ht;