PHP Manual

Stig Sæther Bakken
Alexander Aulbach
Egon Schmid
Jim Winstead
Lars Torben Wilson
Rasmus Lerdorf
Zeev Suraski
Andrei Zmievski

Edited by

Stig Sæther Bakken

Egon Schmid

Table of Contents
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. Calendar functions
VI. CCVS API Functions
VII. COM support functions for Windows
VIII. Class/Object Functions
IX. ClibPDF functions
X. CURL, Client URL Library Functions
XI. Cybercash payment functions
XII. Database (dbm-style) abstraction layer functions
XIII. Date and Time functions
XIV. dBase functions
XV. DBM Functions
XVI. Directory functions
XVII. Dynamic Loading functions
XVIII. DOM XML functions
XIX. filePro functions
XX. Filesystem functions
XXI. Forms Data Format functions
XXII. FTP functions
XXIII. GNU Gettext
XXIV. HTTP functions
XXV. Hyperwave functions
XXVI. ICAP Functions
XXVII. Image functions
XXVIII. IMAP, POP3 and NNTP functions
XXIX. Informix functions
XXX. InterBase functions
XXXI. LDAP functions
XXXII. Mail functions
XXXIII. Mathematical Functions
XXXIV. MCAL functions
XXXV. Mcrypt Encryption Functions
XXXVI. Mhash Functions
XXXVII. Microsoft SQL Server functions
XXXVIII. Miscellaneous functions
XXXIX. mSQL functions
XL. MySQL functions
XLI. Network Functions
XLII. Unified ODBC functions
XLIII. Oracle functions
XLIV. Oracle 8 functions
XLV. PDF functions
XLVI. Verisign Payflow Pro functions
XLVII. PHP options & information
XLVIII. POSIX functions
XLIX. PostgreSQL functions
L. Program Execution functions
LI. Pspell Functions
LII. GNU Readline
LIII. GNU Recode functions
LIV. Regular Expression Functions (Perl-Compatible)
LV. Regular Expression Functions (POSIX Extended)
LVI. Semaphore and Shared Memory Functions
LVII. Session handling functions
LVIII. Shockwave Flash functions
LIX. SNMP functions
LX. String functions
LXI. Sybase functions
LXII. URL Functions
LXIII. Variable Functions
LXIV. Vmailmgr functions
LXV. WDDX functions
LXVI. XML parser functions
LXVIII. YP/NIS Functions
LXIX. Zlib Compression Functions
V. Appendixes
A. Migrating from PHP/FI 2.0 to PHP 3.0
B. PHP development
C. The PHP Debugger