cvs: php4 /ext/standard array.c
| From: | Andi Gutmans | Date: | Tue, 19 Sep 2000 18:19:03 +0000 |
| Subject: | cvs: php4 /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1797@lists.php.net to get a copy of this message | ||
andi Tue Sep 19 11:19:03 2000 EDT
Modified files:
/php4/ext/standard array.c
Log:
- Change to Z_BVAL macro
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.74 php4/ext/standard/array.c:1.75
--- php4/ext/standard/array.c:1.74 Tue Sep 19 10:37:32 2000
+++ php4/ext/standard/array.c Tue Sep 19 11:19:02 2000
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.74 2000/09/19 17:37:32 zeev Exp $ */
+/* $Id: array.c,v 1.75 2000/09/19 18:19:02 andi Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -2017,7 +2017,7 @@
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 */