Tim wrote:
<snip>
The count is maintained internally as items are
added/removed, and it
is an O(1) operation for PHP to "count" the array, as it
already knows
the answer and just returns it.
</snip>

Hi nothing to do with the actual topic, i am just wondering how you get this
"internals" information you all seem to know so much about, it is very
interesting and i'd like to add it to some of my "late night" reading if
possible :)

Just guessing, but I'd say probably the source code. That's where most of the internals of PHP are documented. ;)

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to