25.09.2014 Views

ZEND PHP 5 Certification STUDY GUIDE

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

258 ” INDEX<br />

as stacks, 68<br />

calculating the difference of, 69<br />

on keys and values, 69<br />

on keys only, 70<br />

using a user-defined function, 70<br />

comparing arrays, 52<br />

concatenation, 52<br />

counting elements, 53<br />

creation, 47<br />

defined, 47<br />

element, 47<br />

determining existence, 53, 54<br />

key, 47<br />

value, 47<br />

elements<br />

assigning using list(), 50<br />

randomizing the order of, 65<br />

enumerative vs. associative, 49<br />

extracting keys, 66<br />

extracting random element from, 66<br />

flipping elements and values, 54<br />

intersecting, 70<br />

using a user-defined function, 70<br />

using keys and values, 70<br />

using keys only, 70<br />

iteration, 55<br />

passive, 59<br />

problem non-contiguous keys, 56<br />

using foreach, 57<br />

using pointer, 56<br />

keys<br />

case sensitivity, 50<br />

losing when reversing, 55<br />

values allowed, 49<br />

multi-dimensional, 50<br />

example, 50<br />

operations, 51<br />

order of elements, 49<br />

pointer, 56<br />

interaction with foreach, 58<br />

printing, 48<br />

reversing, 54<br />

sort()<br />

effect on keys, 61<br />

sorting, 61<br />

by key, 63<br />

case-insensitive, 63<br />

keys using a user-defined function, 65<br />

natural, 62<br />

reversing order, 62<br />

sort order, 62, 63<br />

using a user-defined function, 63<br />

using with cookies, 108<br />

using with form data, 101<br />

asort(), 61<br />

additional parameters, 62<br />

reversing order, 62<br />

sort order, 62<br />

assignment<br />

operator, 20<br />

and objects, 21<br />

associative<br />

array, 49<br />

associativity, 25<br />

attributes<br />

when to use, 189<br />

B<br />

beginChildren()<br />

RecursiveIterator, 181<br />

binary not<br />

operator, 18<br />

bit shifting<br />

operator, 19<br />

using for multiplication and division, 19<br />

bitwise AND<br />

operator, 18<br />

bitwise OR<br />

Licensed to 482634 - Amber Barrow (itsadmin@deakin.edu.au)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!