Re: arrays
| From: | Andrei Zmievski | Date: | Sun, 13 May 2001 16:33:54 +0000 |
| Subject: | Re: arrays | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55087@lists.php.net to get a copy of this message | ||
At 06:01 PM 5/13/01 +0200, Harald Radi wrote:
hi, is there a simple way to determine if a pval of type IS_ARRAY contains non-interger indices (associative array) ? something like a flag in the pval structure that indicates that add_assoc_* was called on it.Nope, you pretty much have to walk through it and call zend_hash_get_current_key_type() until you find string key or encounter the end of the array. -Andrei