Skip to content

Commit fbe50b1

Browse files
committed
Add back typedefs for php_uint32 and php_int32
It's pretty likely that extensions rely on these, no need to break things.
1 parent 7e0459e commit fbe50b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/standard/basic_functions.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, size_t
151151

152152
#define MT_N (624)
153153

154+
/* Deprecated type aliases -- use the standard types instead */
155+
typedef uint32_t php_uint32;
156+
typedef int32_t php_int32;
157+
154158
typedef struct _php_basic_globals {
155159
HashTable *user_shutdown_function_names;
156160
HashTable putenv_ht;

0 commit comments

Comments
 (0)