> Why do you need it?  Nobody ever needed it until now.

i just want to fix #7691: unable to pass an array to COM object.
i don't think that anything outside php does expect an associative arrays,
and
i still don't know how to handle these, but at least i have to distinguish
between
them. and it's not really fast if i have to iterate through the hashtable
each time.

> It'll slightly slow
> down each and every hash update all over PHP, so unless it's really
> necessary, we should do without it...

.. does this last more than one cycle ?
i don't think it's really necessary if i'm the only affected one (because
the group of affected people is very small in this case. COM/Win32), i just
wanted to mention it.

harald

>
> Zeev
>
> At 19:40 13/5/2001, Harald Radi wrote:
> >thanks, but wouldn't it desireable to have such a flag ? it wouldn't be a
> >big effort, would it ?
> >
> > > -----Ursprungliche Nachricht-----
> > > Von: Andrei Zmievski [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Sonntag, 13. Mai 2001 18:34
> > > An: Harald Radi; [EMAIL PROTECTED]
> > > Betreff: Re: [PHP-DEV] arrays
> > >
> > >
> > > 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
> > >
> > >
> >
> >
> >--
> >PHP Development Mailing List <http://www.php.net/>
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> Zeev Suraski <[EMAIL PROTECTED]>
> CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to