Oct
15
2008
1

ZCE Array: Standard PHP Library (SPL)

The Standard PHP Library (SPL) attempts to solve standard problems and implements efficient data access interfaces and classes.

I have little understanding of SPL! So much research gone in this section
(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
Written by Adam in: 3. Arrays |
Oct
14
2008
0

ZCE Array: Array Functions

Theirs lots of array functions, I hope your ready for the ones that are listed in the Zend Guide. Their are many more that I have not included. Fingers crossed they dont appear in the zend test.
(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
Oct
14
2008
0

ZCE Array: Multi-Dimensional Arrays

In this section of the PHP 5 Zend Certification Blog I explain Multi-Dimensional Arrays, put simply its an array inside another array. At first it is confusing but if you start using arrays you will find them useful and very effective.

Array does not have to be a simple list of keys and values; each array element can contain another array as a value, which in turn can hold other arrays as well. In such a way you can create two-dimensional or three-dimensional array.
(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
Written by Adam in: 3. Arrays | Tags: , ,
Oct
10
2008
0

ZCE Arrays: Array Iteration

Output Arrays

You can use the simple way, if you know what the index of the value you want to output such as:

echo $Beatles[2]; //outputs George

OR, we can use a loop to output every beetle:

foreach ($Beatles as $Beatle){
 echo "$Beatle";
}

(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
Written by Adam in: 3. Arrays | Tags: , , , , ,
Oct
10
2008
0

ZCE Arrays: Associative Arrays

Associative Arrays are the same as Enumerative arrays except in the fact that they are not idexed by numbers (but can be) instead they are indexed by a name. If you read Enumerative arrays you will not that Ringo was indexed as 3, in an Associative array he would be indexed as “drummer”. Like such

$Beatles['drummber'] = "Ringo";
echo $Beatles['drummber']; //Will output Ringo

(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
Written by Adam in: 3. Arrays | Tags: , ,
Oct
10
2008
0

ZCE Arrays: Enumerated Arrays

Their are two types of arrays Enumerated Arrays and Associative Arrays with these complex names is just referring to how its index’ed. Arrays will be covered in the PHP5 Zend Certification and high understanding is required.
(more…)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • Live
  • StumbleUpon
  • Technorati
  • TwitThis
Written by Adam in: 3. Arrays | Tags: , , ,

WordPress Powered, Theme by TheBuckmaker.com | Add to Technorati Favorites. | RSS and Comments RSS