![]() |
|
#1
|
|||
|
|||
Understanding PHP arraysHi,
Comming from C mostly, I've been trying to wrap my head around how a php array is implemented. It doesn't seem that they could be in contiguous memory, so are they all done as linked lists? I've been looking at w3schools and tizag.com and some on php.net and haven't had seen anything much about it. Inquiring minds, you know... It is probably buried in php.net someplace. I now have an excuse to learn some php! I think it's pretty neat. Many similarities to C ...like the functions , many of which are practically identical! |
|||
|
#2
|
||||
|
||||
Re: understanding php arraysWithin a tutorial, found here, I found this under the 'associate array' portion of the tutorial.
Quote:
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: understanding php arraysThanks, sure that's helpful, it agreees with what I'm seeing here:
http://us2.php.net/types.array Quote:
Sure is one heck of an 'automatic variable". Maybe something will pop up that gives a more complete explaination of what goes on under the hood. |
|
#4
|
||||
|
||||
Re: understanding php arraysInteresting from your link:
Quote:
I'm assuming that might be a white-paper or something. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
Recent GIDBlog
Match IP in CIDR by gidnetwork
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP - sizes and generation times | cable_guy_67 | MySQL / PHP Forum | 3 | 29-Sep-2005 08:26 |
| Help ! I need help starting up on Php ! | onauc | MySQL / PHP Forum | 11 | 04-Jan-2005 23:57 |
| PHP in HTML | jrobbio | Web Design Forum | 4 | 24-Jul-2003 06:05 |
| All the big PHP script collections that matter | jrobbio | MySQL / PHP Forum | 5 | 06-Jun-2003 16:14 |
| PHP Arrays, how big can they get? | JdS | MySQL / PHP Forum | 11 | 13-Jan-2003 14:25 |
Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The