Fwd: php3_imap_headerinfo()

From: Date: Fri, 30 Jul 1999 10:04:42 +0000
Subject: Fwd: php3_imap_headerinfo()
Groups: php.version4 
Request: Send a blank email to php-version4+get-2966@lists.php.net to get a copy of this message
> I think I know why php3_imap_headerinfo() isn't working (Bugs #1804 & >#1839). It looks like ext/imap/imap.c's add_assoc_object() isn't setting-up >the pHashFunction function when it calls _php3_hash_update(), which gets >#define'd into zend_hash_add_or_update() whichs tries to call >ht->pHashFunction, which isn't initialized. > > I could be wrong as I didn't have time to investigate this further, but it >may be a good start at least.. Upon further investigation it appears that imap.c's php3_imap_headerinfo() & add_assoc_object() do not like zend's object_init() and zend_hash_add_or_update() calls. It looks like some of the zend code has changed from the php3 hash code. I tried making the two like each other, but my efforts either didn't work, or I got a lot of memory leak warnings. Hopefully somebody that understands the code better can fix it... -Dustin

« previous php.version4 (#2966) next »