City of Lost Angels

PHP arrays

So while working on designing my website, I stumbled across on a php array. So What is it excatly and how so does it work?

Similar to the C and C++ array structures, a php holds elements in an array (ie storage container). It has a similar declaration:

color array[]= {“white”, “red”, “blue”};

array[0]=”white”;
array[1]=”red”;
array[3]=”blue”;

more on this later.
Associative arrays:
keys and maps
a one to one mapping

So what I need to figure out is how php objects work and operate…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Information

This entry was posted on July 30, 2009 by in Uncategorized and tagged , , .