[PHP-DEV] Zend Hash Question

2001-12-04 Thread l0t3k
something that has confused me for a second is the use of HashTables to store a user defined type. the constructor is fine, its just insertion and querying that's mildly confusing. for instance, it seems as if zend_hash_add takes sizeof(struct) as an argument as opposed to sizeof(struct *) when i

Re: [PHP-DEV] Zend Hash Question

2001-12-04 Thread Stig Venaas
On Wed, Dec 05, 2001 at 01:35:26AM -0500, l0t3k wrote: something that has confused me for a second is the use of HashTables to store a user defined type. the constructor is fine, its just insertion and querying that's mildly confusing. for instance, it seems as if zend_hash_add takes