count() doesn't work on overloaded objects
| From: | Wez Furlong | Date: | Fri, 23 Apr 2004 13:24:09 +0000 |
| Subject: | count() doesn't work on overloaded objects | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9494@lists.php.net to get a copy of this message | ||
While solving http://bugs.php.net/bug.php?id=27974,
we've discovered that count() on an overloaded object
(in this case, a variant object representing an OLE
SafeArray) doesn't return a truthful value.
What, if anything, are we going to do about that?
We could add a hook to the C iterator API for count();
it shouldn't have a huge impact on the rest of the engine.
--Wez.