From 9e9737061eb9dfd82e66e9a420200deec4089623 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 6 Mar 2014 19:07:59 +0800 Subject: [PATCH] Fixed IS_REFERENCE handling --- ext/standard/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/standard/string.c b/ext/standard/string.c index c2acc16d14..98b6547b58 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3221,6 +3221,7 @@ PHP_FUNCTION(similar_text) } if (ac > 2) { + percent = Z_REFVAL_P(percent); convert_to_double_ex(percent); } -- 2.50.1