PHP Manual

Stig Sther Bakken
Alexander Aulbach
Egon Schmid
Jim Winstead
Lars Torben Wilson
Rasmus Lerdorf
Zeev Suraski
Andrei Zmievski
Jouni Ahto

Edited by

Stig Sther Bakken

Egon Schmid


Table of Contents
Preface
About this Manual
I. Getting Started
1. Introduction
2. Installation
3. Configuration
4. Security
II. Language Reference
5. Basic syntax
6. Types
7. Variables
8. Constants
9. Expressions
10. Operators
11. Control Structures
12. Functions
13. Classes and Objects
14. References Explained
III. Features
15. Error Handling
16. Creating and manipulating images
17. HTTP authentication with PHP
18. Cookies
19. Handling file uploads
20. Using remote files
21. Connection handling
22. Persistent Database Connections
IV. Function Reference
I. Apache-specific Functions
II. Array Functions
III. Aspell functions
IV. BCMath Arbitrary Precision Mathematics Functions
V. Bzip2 Compression Functions
VI. Calendar functions
VII. CCVS API Functions
VIII. COM support functions for Windows
IX. Class/Object Functions
X. ClibPDF functions
XI. CURL, Client URL Library Functions
XII. Cybercash payment functions
XIII. Character type functions
XIV. Database (dbm-style) abstraction layer functions
XV. Date and Time functions
XVI. dBase functions
XVII. DBM Functions
XVIII. dbx functions
XIX. Directory functions
XX. DOM XML functions
XXI. Error Handling and Logging Functions
XXII. FrontBase functions
XXIII. filePro functions
XXIV. Filesystem functions
XXV. Forms Data Format functions
XXVI. FTP functions
XXVII. Function Handling functions
XXVIII. GNU Gettext
XXIX. GMP functions
XXX. HTTP functions
XXXI. Hyperwave functions
XXXII. ICAP Functions
XXXIII. Image functions
XXXIV. IMAP, POP3 and NNTP functions
XXXV. Informix functions
XXXVI. InterBase functions
XXXVII. Ingres II functions
XXXVIII. LDAP functions
XXXIX. Mail functions
XL. Mathematical Functions
XLI. Multi-Byte String Functions
XLII. MCAL functions
XLIII. Mcrypt Encryption Functions
XLIV. Mhash Functions
XLV. Microsoft SQL Server functions
XLVI. Ming functions for Flash
XLVII. Miscellaneous functions
XLVIII. mnoGoSearch Functions
XLIX. mSQL functions
L. MySQL functions
LI. Network Functions
LII. Unified ODBC functions
LIII. Oracle 8 functions
LIV. OpenSSL functions
LV. Oracle functions
LVI. Ovrimos SQL functions
LVII. Output Control Functions
LVIII. PDF functions
LIX. Verisign Payflow Pro functions
LX. PHP options & information
LXI. POSIX functions
LXII. PostgreSQL functions
LXIII. Program Execution functions
LXIV. Pspell Functions
LXV. GNU Readline
LXVI. GNU Recode functions
LXVII. Regular Expression Functions (Perl-Compatible)
LXVIII. Regular Expression Functions (POSIX Extended)
LXIX. Satellite CORBA client extension
LXX. Semaphore and Shared Memory Functions
LXXI. SESAM database functions
LXXII. Session handling functions
LXXIII. Shared Memory Functions
LXXIV. Shockwave Flash functions
LXXV. SNMP functions
LXXVI. Socket functions
LXXVII. String functions
LXXVIII. Sybase functions
LXXIX. URL Functions
LXXX. Variable Functions
LXXXI. WDDX functions
LXXXII. XML parser functions
LXXXIII. XSLT functions
LXXXIV. YAZ functions
LXXXV. YP/NIS Functions
LXXXVI. Zlib Compression Functions
V. PEAR: the PHP Extension and Application Repository
23. About PEAR
24. PEAR Coding Standards
LXXXVII. PEAR Reference Manual
VI. Appendixes
A. Migrating from older versions of PHP
B. Migrating from PHP 3.0 to PHP 4.0
C. PHP development
D. The PHP Debugger
E. PHP reserved words
F. PHP's resource types