From e6182bd4eae63529d9d4a24f67f3a8c1df0e207b Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 18 Jan 2019 00:53:48 +0300 Subject: Improved ZEND_TRY_ASSIGN... API to avoid unnecessary double copying and reduce code bloat. --- ext/standard/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/type.c') diff --git a/ext/standard/type.c b/ext/standard/type.c index bc1233e35d..e783a37b40 100644 --- a/ext/standard/type.c +++ b/ext/standard/type.c @@ -84,7 +84,7 @@ PHP_FUNCTION(settype) RETURN_FALSE; } - zend_try_assign(var, &tmp); + ZEND_TRY_ASSIGN_TMP(var, &tmp); RETVAL_TRUE; } /* }}} */ -- cgit v1.2.1