25.09.2014 Views

ZEND PHP 5 Certification STUDY GUIDE

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INDEX ” 269<br />

maintaining, 98, 109<br />

static, 123<br />

and visibility, 124<br />

str_ireplace(), 81<br />

str_replace(), 81, 94<br />

strcasecmp(), 78, 79<br />

strcmp(), 78<br />

strcspn(), 81<br />

stream<br />

seeking, 241<br />

stream_filter_append(), 250<br />

stream_socket_client(), 249<br />

stream_socket_server(), 249<br />

streams<br />

accessing CSV files, 242<br />

accessing files, 239<br />

accessing network resources, 247<br />

accessing web pages, 247<br />

performing POST operations, 248<br />

and open_basedir, 233<br />

C-style functions, 239, 241<br />

caching of function results, 246<br />

clearing the cache, 246<br />

changing permissions, 246<br />

contexts, 248<br />

creating servers, 248<br />

determining end-of-file status, 241<br />

determining file size, 239<br />

determining if a file exists, 241<br />

determining if a file is executable, 245<br />

determining if a path is readable, 245<br />

determining if a path is writable, 245<br />

determining if a pathanme is a link, 245<br />

determining if a pathname is a file, 245<br />

determining the current position inside a<br />

file, 242<br />

directory<br />

changing the current, 244<br />

creating, 245<br />

determining if a pathname is a, 245<br />

determining the current working, 244<br />

disabling access to remote resources, 232<br />

escaping shell arguments, 233<br />

features, 238<br />

file wrappers, 247<br />

disabling, 232<br />

filters, 249<br />

handling custom protocols, 248<br />

installable filters, 238<br />

outputting a file, 243<br />

reading a file in memory, 243<br />

reading a file into an array, 243<br />

reading from a file, 241<br />

remote code injection, 231<br />

security, 230<br />

security considerations, 237<br />

simple file functions, 243<br />

sockets, 248<br />

types, 237<br />

writing a file, 243<br />

streams_filter_prepend(), 250<br />

string, 8, 10<br />

strings<br />

as arrays, 77<br />

comparing, 78<br />

case-insensitive comparison, 79<br />

portions of, 79<br />

concatenation, 17<br />

currency formatting, 85<br />

defined, 73<br />

determining length, 76<br />

equivalence vs. identity operators, 78<br />

escape sequences, 73<br />

escaping literal values, 75<br />

extracing substrings, 83<br />

formatting, 84<br />

locale considerations, 84<br />

numbers, 84<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!