Skip to content

Commit b413ec6

Browse files
committed
use zend_result
1 parent ff95a35 commit b413ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/var.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void php_object_property_dump(zend_property_info *prop_info, zval *zv, ze
5757
if (key == NULL) { /* numeric key */
5858
php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index);
5959
} else { /* string key */
60-
int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name);
60+
zend_result unmangle = zend_unmangle_property_name(key, &class_name, &prop_name);
6161
php_printf("%*c[", level + 1, ' ');
6262

6363
if (class_name && unmangle == SUCCESS) {

0 commit comments

Comments
 (0)