Skip to content

Commit 3e05c86

Browse files
committed
ext/standard: Remove deprecated php_uint32 and php_int32 typedefs
Use the standard uint32_t and int32_t types instead.
1 parent 35ae152 commit 3e05c86

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

UPGRADING.INTERNALS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ PHP 8.4 INTERNALS UPGRADE NOTES
338338
the caller now.
339339
- The php_info_html_esc() function has been removed, use
340340
php_escape_html_entities() with ENT_QUOTES directly instead.
341+
- The deprecated php_uint32 and php_int32 typedefs have been removed from
342+
ext/standard/basic_functions.h. Use the standard uint32_t and int32_t
343+
types instead.
341344

342345
h. ext/session
343346
- Added the php_get_session_status() API to get the session status, which is

ext/standard/basic_functions.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ PHPAPI int _php_error_log(int opt_err, const char *message, const char *opt, con
5151
PHPAPI int _php_error_log_ex(int opt_err, const char *message, size_t message_len, const char *opt, const char *headers);
5252
PHPAPI int php_prefix_varname(zval *result, zend_string *prefix, const char *var_name, size_t var_name_len, bool add_underscore);
5353

54-
/* Deprecated type aliases -- use the standard types instead */
55-
typedef uint32_t php_uint32;
56-
typedef int32_t php_int32;
57-
5854
typedef struct _php_basic_globals {
5955
HashTable *user_shutdown_function_names;
6056
HashTable putenv_ht;

0 commit comments

Comments
 (0)