com php-src: Fixed IS_REFERENCE handling: ext/standard/ string.c
| From: | Dmitry Stogov | Date: | Thu, 06 Mar 2014 11:07:59 +0000 |
| Subject: | com php-src: Fixed IS_REFERENCE handling: ext/standard/ string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77705@lists.php.net to get a copy of this message | ||
Commit: 9e9737061eb9dfd82e66e9a420200deec4089623
Author: Xinchen Hui <laruence@gmail.com> Thu, 6 Mar 2014 19:07:59 +0800
Parents: 3290476a9fcb945f71138649988abc033d9144de
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9e9737061eb9dfd82e66e9a420200deec4089623
Log:
Fixed IS_REFERENCE handling
Changed paths:
M ext/standard/string.c
Diff:
diff --git a/ext/standard/string.c b/ext/standard/string.c
index c2acc16..98b6547 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);
}