Fwd: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.c
| From: | Andi Gutmans | Date: | Tue, 24 Apr 2001 14:33:58 +0000 |
| Subject: | Fwd: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52277@lists.php.net to get a copy of this message | ||
Looks like it got merged before RC7.
Can you check if your source includes this fix?
From: "Andrei Zmievski" <andrei@ispi.net> To: php-cvs@lists.php.net Date: Mon, 02 Apr 2001 16:12:07 -0000 Subject: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.candrei Mon Apr 2 09:12:07 2001 EDTModified files: (Branch: PHP_4_0_5) /php4/ext/standard array.cLog: MFH Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.101 php4/ext/standard/array.c:1.101.2.1--- php4/ext/standard/array.c:1.101 Mon Mar 12 02:14:00 2001+++ php4/ext/standard/array.c Mon Apr 2 09:12:06 2001 @@ -21,7 +21,7 @@+----------------------------------------------------------------------+*/ -/* $Id: array.c,v 1.101 2001/03/12 10:14:00 stas Exp $ */ +/* $Id: array.c,v 1.101.2.1 2001/04/02 16:12:06 andrei Exp $ */ #include "php.h" #include "php_ini.h" @@ -2195,7 +2195,7 @@switch (zend_hash_get_current_key_ex(target_hash, &string_key, &str_key_len, &num_key, 1, &pos)) { case HASH_KEY_IS_STRING: Z_STRVAL_P(data) = string_key; - Z_STRLEN_P(data) = str_key_len; + Z_STRLEN_P(data) = str_key_len-1; Z_TYPE_P(data) = IS_STRING; break; case HASH_KEY_IS_LONG:-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net For additional commands, e-mail: php-cvs-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net