Skip to Main Content
PHP: The Good Parts
book

PHP: The Good Parts

by Peter MacIntyre
April 2010
Beginner content levelBeginner
174 pages
4h 24m
English
O'Reilly Media, Inc.
Content preview from PHP: The Good Parts

Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

Symbols

& for referenced variables, Variables: Data Types, Loose Typing, and Scope, Passing by Value Versus Passing by Reference
<?php text sequence, Basic PHP Setup
\ (backslash)
for escaping characters, You Can Quote Me
for namespace identification, Namespaces
removing escapes from output, Escape OutputEscape Output
stripping from strings, String Modification
[ ]
for referencing arrays, Indexed Arrays, Arrays from Another Dimension
in regular expressions, String Splitting
{ }
for code blocks, Functions (Doing It Once)
for defining namespaces, Namespaces
$ for variable names, Variables: Data Types, Loose Typing, and Scope
$_ prefix for superglobals, Cookies
( ) for functions, Functions (Doing It Once)
| | (OR) condition test, If...Else...
++ command, For
# for inline comments, Whitespace, Comments, and Basic Syntax
' (single quotes) for strings, You Can Quote Me
in array keys, Associative Arrays
" (double quotes) for strings, You Can Quote Me
in array keys, Associative Arrays
/* ... */ for multiline comments, Whitespace, Comments, and Basic Syntax
// for inline comments, Whitespace, Comments, and Basic Syntax

A

a+ option (file management functions), File Management As ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern PHP

Modern PHP

Josh Lockhart
Learning PHP

Learning PHP

David Sklar
PHP Hacks

PHP Hacks

Jack D. Herrington
Learning PHP 7

Learning PHP 7

Antonio L Zapata (GBP)

Publisher Resources

ISBN: 9781449387761Supplemental ContentErrata Page