Skip to content

Commit f7f234a

Browse files
committed
zend_builtin_functions.c: use known string when possible
1 parent 88d7817 commit f7f234a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_builtin_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ ZEND_FUNCTION(get_resource_type)
15471547
if (resource_type) {
15481548
RETURN_STRING(resource_type);
15491549
} else {
1550-
RETURN_STRING("Unknown");
1550+
RETURN_INTERNED_STR(ZSTR_KNOWN(ZEND_STR_UNKNOWN_CAPITALIZED));
15511551
}
15521552
}
15531553
/* }}} */

0 commit comments

Comments
 (0)