From 2334785f98a0a7270e07b4b66d21f6d0191e9bf5 Mon Sep 17 00:00:00 2001 From: Lior Kaplan Date: Tue, 22 Jul 2014 06:28:20 +0300 Subject: [PATCH] RETVAL_STRINGL takes only two variables Follow up for commit f4cfaf36 --- ext/standard/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/type.c b/ext/standard/type.c index ab3224628c..d72a17dafc 100644 --- a/ext/standard/type.c +++ b/ext/standard/type.c @@ -66,7 +66,7 @@ PHP_FUNCTION(gettype) res_len = sizeof("object of type ")-1 + Z_OBJCE_P(arg)->name_length; spprintf(&result, 0, "object of type %s", Z_OBJCE_P(arg)->name); - RETVAL_STRINGL(result, res_len, 0); + RETVAL_STRINGL(result, res_len); } */ break; -- 2.40.0