Skip to content

Commit 7bc6361

Browse files
Merge branch 'PHP-7.0'
2 parents ba91c1f + 37b64de commit 7bc6361

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Zend/zend_compile.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ typedef struct _builtin_type_info {
190190
} builtin_type_info;
191191

192192
static const builtin_type_info builtin_types[] = {
193-
{"int", sizeof("int") - 1, IS_LONG},
194-
{"float", sizeof("float") - 1, IS_DOUBLE},
195-
{"string", sizeof("string") - 1, IS_STRING},
196-
{"bool", sizeof("bool") - 1, _IS_BOOL},
193+
{ZEND_STRL("int"), IS_LONG},
194+
{ZEND_STRL("float"), IS_DOUBLE},
195+
{ZEND_STRL("string"), IS_STRING},
196+
{ZEND_STRL("bool"), _IS_BOOL},
197197
{NULL, 0, IS_UNDEF}
198198
};
199199

0 commit comments

Comments
 (0)