Re: array_splice() BUG or Future ?
| From: | Kachalov Anton | Date: | Wed, 03 Apr 2002 18:13:56 +0000 |
| Subject: | Re: array_splice() BUG or Future ? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82062@lists.php.net to get a copy of this message | ||
I found, that HashTable->arBuckets[*] contained field nKeyLength which
equal to zero for all elements and condition:
vvvvvvvvvvvvvvvvvv
if (p->nKeyLength)
zend_hash_update(out_hash, p->arKey, p->nKeyLength, &entry,sizeof(zval *), NULL); ^^^^^^^^^^^^^^^^^^ else
zend_hash_next_index_insert(out_hash, &entry, sizeof(zval *), NULL);will fail Is this correct ? Rgds, Anton -- ALTLinux Team http://www.altlinux.ru LRN Team http://www.lrn.ru