PHP 3 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. DOM XML functions
XVIII. Error Handling and Logging Functions
XIX. filePro functions
XX. Filesystem functions
XXI. Forms Data Format functions
XXII. FTP functions
XXIII. Function Handling functions
XXIV. GNU Gettext
XXV. HTTP functions
XXVI. Hyperwave functions
XXVII. ICAP Functions
XXVIII. Image functions
XXIX. IMAP, POP3 and NNTP functions
XXX. Informix functions
XXXI. InterBase functions
XXXII. LDAP functions
XXXIII. Mail functions
XXXIV. Mathematical Functions
XXXV. MCAL functions
XXXVI. Mcrypt Encryption Functions
XXXVII. Mhash Functions
XXXVIII. Microsoft SQL Server functions
XXXIX. Miscellaneous functions
XL. mSQL functions
XLI. MySQL functions
XLII. Network Functions
XLIII. Unified ODBC functions
XLIV. Oracle 8 functions
XLV. Oracle functions
XLVI. Output Control Functions
XLVII. PDF functions
XLVIII. Verisign Payflow Pro functions
XLIX. PHP options & information
L. POSIX functions
LI. PostgreSQL functions
LII. Program Execution functions
LIII. Pspell Functions
LIV. GNU Readline
LV. GNU Recode functions
LVI. Regular Expression Functions (Perl-Compatible)
LVII. Regular Expression Functions (POSIX Extended)
LVIII. Satellite CORBA client extension
LIX. Semaphore and Shared Memory Functions
LX. Session handling functions
LXI. Shared Memory Functions
LXII. Shockwave Flash functions
LXIII. SNMP functions
LXIV. Socket functions
LXV. String functions
LXVI. Sybase functions
LXVII. URL Functions
LXVIII. Variable Functions
LXIX. Vmailmgr functions
LXX. WDDX functions
LXXI. XML parser functions
LXXII. YAZ functions
LXXIII. YP/NIS Functions
LXXIV. Zlib Compression Functions
V. Appendixes
A. Migrating from PHP/FI 2.0 to PHP 3.0
B. PHP development
C. The PHP Debugger