AW: AW: AW: [PHP-DEV] arrays

2001-05-14 Thread Harald Radi
then it wasn't intendet to be an indexed array only and we could treat it as associative for the rest of the time. maybe we could add a userfunction array_remove_assoc() which would remove all associative keys and resets the flag. but i wouldn't mind this special case. harald.

AW: AW: AW: [PHP-DEV] arrays

2001-05-14 Thread Harald Radi
instead of just setting a flag you could implement a assoc-entry counter (imo performance is the same) that you could decrement if an associative key gets deleted. harald. -Ursprüngliche Nachricht- Von: Zeev Suraski [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 15. Mai 2001 01:52