11.07.2015 Views

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

PHP MySQL - Stilson.net

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

• INDEXwww.it-ebooks.infoarg_separator.output, run-time directive for<strong>PHP</strong>, 31argumentsdefault values, 94–95passing by reference, 94passing by values, 93shell, escaping, 292arithmetic operators, 69array pointer feature, 104array_chunk( ) function, 133array_combine( ) function, 127array_count_values( ) function, 118, 226array_diff( ) function, 130array_diff_assoc( ) function, 131array_diff_key( ) function, 130array_diff_uassoc( ) function, 131array_diff_ukey( ) function, 130array_flip( ) function, 120, 214array_intersect( ) function, 129array_intersect_assoc( ) function, 129array_intersect_key( ) function, 129array_intersect_ukey( ) function, 129array_key_exists( ) function, 112array_merge( ) function, 126array_merge_recursive( ) function, 126array_pop( ) function, 111array_push( ) function, 110array_rand( ) function, 131array_reverse( ) function, 119array_search( ) function, 112array_shift( ) function, 111array_slice( ) function, 127array_splice( ) function, 128array_sum( ) function, 132array_udiff( ) function, 130array_udiff_assoc( ) function, 131array_udiff_uassoc( ) function, 131array_unique( ) function, 119array_unshift( ) function, 110array_values( ) function, 113array_walk( ) function, 116–117array_walk_recursive( ) function, 117arraysadding values to end of arrays, 110adding values to front of arrays, 110calculating associative differences, 131calculating associative intersections,129–130calculating differences, 130calculating intersections, 129combining, 127converting into strings, 217–218creatingwith array( ), 105–106extracting with list( ), 106–107populating with predefined valueranges, 107testing for, 107–108determining size and uniquenesscounting value frequency, 118determining values, 119overview, 117functionsreturning random set of keys, 131–132shuffling array elements, 132–133loading distinguished names (DN) into,363–364locating elementsretrieving array keys, 113retrieving array values, 113searching arrays, 111–112merging, 126outputting, 108–109overview, 51reading CSV files into, 241–242reading directories into, 248–249reading file into, 239–240recursively appending arrays, 126removing values from end of, 111removing values from front of, 111searching, 200–201slicing, 127–128sortingaccording to user-defined criteria,124–125case-insensitive natural sorting, 123flipping keys and values, 120by key values, 123–124naturally, 123in reverse order, 122–124reversing element order, 119–120while maintaining key/value pairs,121–122splicing, 128–129traversingmoving pointer, 115–116overview, 113passing values to function, 116–117retrieving current keys, 114retrieving current values, 114–115arsort( ) function, 122736

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

Saved successfully!

Ooh no, something went wrong!