diff options
| author | Andi Gutmans <andi@php.net> | 2000-09-19 18:19:02 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2000-09-19 18:19:02 +0000 |
| commit | c54047b0b05f867353e0c10b6be65d566768845c (patch) | |
| tree | 952df3d1b67067feae2a3bd7e8de3d795cc38740 | |
| parent | 813f7b58d63375cd4983f250d35853d8007bc58b (diff) | |
| download | php-git-c54047b0b05f867353e0c10b6be65d566768845c.tar.gz | |
- Change to Z_BVAL macro
| -rw-r--r-- | ext/standard/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
