We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9fbba4 commit 880bf62Copy full SHA for 880bf62
NEWS
@@ -8,6 +8,8 @@ PHP NEWS
8
Seitz, cmb)
9
. Fixed bug #80596 (Invalid union type TypeError in anonymous classes).
10
(Daniil Gentili)
11
+ . Fixed bug #80617 (GCC throws warning about type narrowing in
12
+ ZEND_TYPE_INIT_CODE). (Nikita)
13
14
- BCMath:
15
. Fixed bug #80545 (bcadd('a', 'a') doesn't throw an exception).
Zend/zend_types.h
@@ -150,7 +150,7 @@ typedef struct {
150
/* Type mask excluding the flags above. */
151
#define _ZEND_TYPE_MAY_BE_MASK ((1u << 20) - 1)
152
/* Must have same value as MAY_BE_NULL */
153
-#define _ZEND_TYPE_NULLABLE_BIT 0x2
+#define _ZEND_TYPE_NULLABLE_BIT 0x2u
154
155
#define ZEND_TYPE_IS_SET(t) \
156
(((t).type_mask & _ZEND_TYPE_MASK) != 0)
0 commit comments