Skip to content

Commit c73a910

Browse files
committed
fix
1 parent a20a95a commit c73a910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zend_test/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ static ZEND_FUNCTION(zend_get_zval_ptr)
443443
Z_PARAM_ZVAL(v)
444444
ZEND_PARSE_PARAMETERS_END();
445445

446-
RETURN_LONG((zend_long) v);
446+
RETURN_LONG((zend_long) Z_ARR_P(v));
447447
}
448448

449449
static ZEND_FUNCTION(ZendTestNS2_namespaced_func)

0 commit comments

Comments
 (0)