cvs: php-src(PHP_4_3) /ext/standard array.c

From: Date: Sat, 09 Aug 2003 16:47:21 +0000
Subject: cvs: php-src(PHP_4_3) /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23040@lists.php.net to get a copy of this message
iliaa Sat Aug 9 12:47:21 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/standard array.c Log: MFH: Do not assume array contains numeric values. Index: php-src/ext/standard/array.c diff -u php-src/ext/standard/array.c:1.199.2.22 php-src/ext/standard/array.c:1.199.2.23 --- php-src/ext/standard/array.c:1.199.2.22 Fri Aug 8 19:54:25 2003 +++ php-src/ext/standard/array.c Sat Aug 9 12:47:21 2003 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.199.2.22 2003/08/08 23:54:25 iliaa Exp $ */ +/* $Id: array.c,v 1.199.2.23 2003/08/09 16:47:21 iliaa Exp $ */ #include "php.h" #include "php_ini.h" @@ -3210,7 +3210,7 @@ result = *initial; } else { MAKE_STD_ZVAL(result); - ZVAL_LONG(result, 0); + ZVAL_NULL(result); } /* (zval **)input points to an element of argument stack

« previous php.cvs (#23040) next »