We've generally omitted from examples in this book the <?php and ?> opening and closing markers that begin and end a PHP program, except in examples where the body of the code includes an opening or closing marker. To minimize naming conflicts, function and class names in the PHP Cookbook begin with pc_.
The examples in this book were written to run under PHP Version 4.2.2. Sample code should work on both Unix and Windows, except where noted in the text. Some functions, notably the XML-related ones, were written to run under PHP Version 4.3.0. We've noted in the text when we depend on a feature not present in PHP Version 4.2.2.
The following typographic conventions are used in this book:
Copyright © 2003 O'Reilly & Associates. All rights reserved.