05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

calendars<br />

ICAP extension, 462<br />

MCAL extension, 463<br />

callback functions<br />

ob_gzhandler(), 303<br />

rewrite(), 302<br />

calling functions, 61<br />

variable function call, 70<br />

call_user_func() function, 386<br />

call_user_method() function, 386<br />

call_user_method_array() function, 386<br />

capturing in regular expressions, 99<br />

inline flags and, 108<br />

non-capturing groups, 106<br />

carriage returns, testing string for, 95<br />

case, changing for strings, 81<br />

converting to lowercase before<br />

comparing, 87<br />

case-insensitivity<br />

in class names, 143<br />

in function names, 62<br />

in pattern matching, 111<br />

eregi_replace(), 103<br />

in regular expression matches, 101, 395,<br />

442, 443<br />

case labels in statements, 49<br />

case-sensitivity<br />

in keywords, 23<br />

in <strong>PHP</strong>, 17<br />

in <strong>PHP</strong> identifiers, 22<br />

in regular expressions, 96<br />

casting<br />

implicit, of operand types, 37<br />

in string comparisons with ==<br />

operator, 86<br />

in string comparisons with comparison<br />

operators, 87<br />

operators for, 43<br />

C/C++ languages<br />

C-language compiler, 7<br />

C-language <strong>PHP</strong> extensions, 317–350<br />

architectural overview, 317<br />

command-line <strong>PHP</strong>, 319<br />

compiling, 325<br />

config.m4 file, 327–329<br />

creating variables, 345–347<br />

developers mailing list, 350<br />

external dependencies, 328<br />

function return values, 338–341<br />

global variables, 343–345<br />

476 | Index<br />

INI entries, 347<br />

memory-management<br />

functions, 329–331<br />

parameter handling, 335–337<br />

<strong>PHP</strong> source code, downloading<br />

latest, 318<br />

planning, 320<br />

pval/zval data type, 331–335<br />

references, 342<br />

resources, 349<br />

skeleton extension, creating and<br />

fleshing out, 320, 322–325<br />

software tools, 319<br />

testing, 326<br />

C-language string encoding, 85<br />

comments, 19–21<br />

CCITT image format in PDF files, 246<br />

CDATA, 267<br />

ceil() function, 386<br />

CGI specification for environment<br />

variables, 160<br />

chaining<br />

constructors, 146<br />

if statements, 48<br />

character classes, 97<br />

in Perl-style regular expressions, 105<br />

in POSIX-style regular expressions, 99<br />

character data handler (XML), 267<br />

character encoding<br />

option for xmlrpc_server_call_<br />

method(), 282<br />

PDF, mapping onto font characters, 244<br />

XML parser option, 270<br />

character sets and encodings, Recode library<br />

for conversions, 467<br />

characters<br />

comparing strings for similar, 88<br />

incrementing, 39<br />

last occurrence of character in a string, 94<br />

minimum number specifier (printf()<br />

format modifier), 77<br />

sequences of (see strings)<br />

special<br />

in regular expressions, 96<br />

in shell commands, 295<br />

whitespace, stripping from strings, 80<br />

chdir() function, 386<br />

checkdate() function, 387<br />

checkdnsrr() function, 387<br />

check_privileges() function, 286<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!