[PHP4BETA] CVS update: php4/ext/standard

From: Date: Fri, 28 May 1999 21:41:17 +0000
Subject: [PHP4BETA] CVS update: php4/ext/standard
Groups: php.version4 
Request: Send a blank email to php-version4+get-1155@lists.php.net to get a copy of this message
Date: Friday May 28, 1999 @ 17:41 Author: sas Update of /repository/php4/ext/standard In directory php:/tmp/cvs-serv32399/ext/standard Modified Files: var.c Log Message: that seems to fix it Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.7 php4/ext/standard/var.c:1.8 --- php4/ext/standard/var.c:1.7 Fri May 28 17:27:19 1999 +++ php4/ext/standard/var.c Fri May 28 17:41:17 1999 @@ -335,10 +335,12 @@ (*rval)->type = IS_OBJECT; got_array: + (*rval)->refcount = 1; + (*rval)->is_ref = 0; (*p) += 2; i = atoi(*p); (*rval)->value.ht = (HashTable *) emalloc(sizeof(HashTable)); - _php3_hash_init((*rval)->value.ht, i + 1, NULL, PVAL_DESTRUCTOR, 0); + _php3_hash_init((*rval)->value.ht, i + 1, NULL, PVAL_PTR_DTOR, 0); while (**p && **p != ':') { (*p)++; } -- PHP 4 Beta

« previous php.version4 (#1155) next »