Re: isset
| From: | Robert Cummings | Date: | Tue, 17 Apr 2007 12:51:15 +0000 |
| Subject: | Re: isset | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253106@lists.php.net to get a copy of this message | ||
On Tue, 2007-04-17 at 13:14 +0100, Stut wrote:
> 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. ;)
Several sources... the C source code as Stut has presumed :) Also from
reading the PHP-DEV list where the source is often discussed.
Additionally, some of it is from my early Computer Science background
where there's a large focus on data structures and algorithms.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'