From c54047b0b05f867353e0c10b6be65d566768845c Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Tue, 19 Sep 2000 18:19:02 +0000 Subject: [PATCH] - Change to Z_BVAL macro --- ext/standard/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/array.c b/ext/standard/array.c index 76d8e7cc9a..70bf1bb326 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2017,7 +2017,7 @@ PHP_FUNCTION(array_reverse) if (ZEND_NUM_ARGS() > 1) { convert_to_boolean_ex(z_preserve_keys); - preserve_keys = (zend_bool) Z_LVAL_PP(z_preserve_keys); + preserve_keys = Z_BVAL_PP(z_preserve_keys); } /* Initialize return array */ -- 2.50.1