Skip to content

Commit 4b1b022

Browse files
author
Your Name
committed
Return zend_string without intern
1 parent 2479ff2 commit 4b1b022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ PHP_FUNCTION(gettype)
3232
ZEND_PARSE_PARAMETERS_END();
3333

3434
if (resolve_object_names && Z_TYPE_P(arg) == IS_OBJECT) {
35-
RETURN_INTERNED_STR(Z_OBJ_P(arg)->ce->name);
35+
RETURN_STR(Z_OBJ_P(arg)->ce->name);
3636
}
3737

3838
type = zend_zval_get_type(arg);

0 commit comments

Comments
 (0)