Re: [PHP-DEV] Hashtables

2002-11-30 Thread Derick Rethans
On Sat, 30 Nov 2002, John Coggeshall wrote: > > Hey all > > I was playing around and I'm running into a problem with a hashtable... > Basically, it's segfaulting my code :) Specifically, I'm trying to > return the number of items in the hash... > > if(zend_hash_num_elements(hash) == 0) > > Whi

[PHP-DEV] Hashtables

2002-11-30 Thread John Coggeshall
Hey all I was playing around and I'm running into a problem with a hashtable... Basically, it's segfaulting my code :) Specifically, I'm trying to return the number of items in the hash... if(zend_hash_num_elements(hash) == 0) Which causes the following: Program received signal SIGSEGV, Segmen