PHP Manual

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

Edited by

Stig Sæther Bakken
Egon Schmid


Table of Contents
I. Getting Started
1. Introduction
2. A simple tutorial
3. Installation
4. Runtime Configuration
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. Security
15. Security
IV. Features
16. HTTP authentication with PHP
17. Cookies
18. Dealing with XForms
19. Handling file uploads
20. Using remote files
21. Connection handling
22. Persistent Database Connections
23. Safe Mode
24. Using PHP from the command line
V. Function Reference
I. Apache-specific Functions
II. Array Functions
III. Aspell functions [deprecated]
IV. BCMath Arbitrary Precision Mathematics Functions
V. Bzip2 Compression Functions
VI. Calendar Functions
VII. CCVS API Functions [deprecated]
VIII. COM and .Net (Windows)
IX. Class/Object Functions
X. ClibPDF Functions
XI. Crack Functions
XII. CURL, Client URL Library Functions
XIII. Cybercash Payment Functions
XIV. Cyrus IMAP administration Functions
XV. Character Type Functions
XVI. Database (dbm-style) Abstraction Layer Functions
XVII. Date and Time Functions
XVIII. dBase Functions
XIX. DBM Functions [deprecated]
XX. dbx Functions
XXI. DB++ Functions
XXII. Direct IO Functions
XXIII. Directory Functions
XXIV. DOM Functions
XXV. DOM XML Functions
XXVI. .NET Functions
XXVII. Error Handling and Logging Functions
XXVIII. File Alteration Monitor Functions
XXIX. FrontBase Functions
XXX. filePro Functions
XXXI. Filesystem Functions
XXXII. Forms Data Format Functions
XXXIII. FriBiDi Functions
XXXIV. FTP Functions
XXXV. Function Handling Functions
XXXVI. Gettext
XXXVII. GMP Functions
XXXIX. Hyperwave Functions
XL. Hyperwave API Functions
XLI. iconv Functions
XLII. Image Functions
XLIII. IMAP, POP3 and NNTP Functions
XLIV. Informix Functions
XLV. Firebird/InterBase Functions
XLVI. ID3 Functions
XLVII. Ingres II Functions
XLVIII. IRC Gateway Functions
XLIX. PHP / Java Integration
L. LDAP Functions
LI. LZF Functions
LII. Mail Functions
LIII. mailparse Functions
LIV. Mathematical Functions
LV. Multibyte String Functions
LVI. MCAL Functions
LVII. Mcrypt Encryption Functions
LVIII. MCVE Payment Functions
LIX. Mhash Functions
LX. Mimetype Functions
LXI. Microsoft SQL Server Functions
LXII. Ming functions for Flash
LXIII. Miscellaneous Functions
LXIV. mnoGoSearch Functions
LXV. mSQL Functions
LXVI. MySQL Functions
LXVII. Improved MySQL Extension
LXVIII. Mohawk Software Session Handler Functions
LXIX. muscat Functions
LXX. Network Functions
LXXI. Ncurses Terminal Screen Control Functions
LXXII. Lotus Notes Functions
LXXIII. NSAPI-specific Functions
LXXIV. Unified ODBC Functions
LXXV. Object Aggregation/Composition Functions
LXXVI. Oracle 8 functions
LXXVII. OpenSSL Functions
LXXVIII. Oracle Functions
LXXIX. Ovrimos SQL Functions
LXXX. Output Control Functions
LXXXI. Object property and method call overloading
LXXXII. PDF functions
LXXXIII. Verisign Payflow Pro Functions
LXXXIV. PHP Options&Information
LXXXV. POSIX Functions
LXXXVI. PostgreSQL Functions
LXXXVII. Process Control Functions
LXXXVIII. Program Execution Functions
LXXXIX. Printer Functions
XC. Pspell Functions
XCI. GNU Readline
XCII. GNU Recode Functions
XCIII. Regular Expression Functions (Perl-Compatible)
XCIV. qtdom Functions
XCV. Regular Expression Functions (POSIX Extended)
XCVI. Semaphore, Shared Memory and IPC Functions
XCVII. SESAM Database Functions
XCVIII. Session Handling Functions
XCIX. Shared Memory Functions
C. SimpleXML functions
CI. SOAP Functions
CIII. Shockwave Flash Functions
CIV. SNMP Functions
CV. Socket Functions
CVI. Standard PHP Library (SPL) Functions
CVII. Stream Functions
CVIII. String Functions
CIX. Sybase Functions
CX. TCP Wrappers Functions
CXI. Tidy Functions
CXII. Tokenizer Functions
CXIII. URL Functions
CXIV. Variable Functions
CXV. vpopmail Functions
CXVI. W32api Functions
CXVII. WDDX Functions
CXVIII. XML Parser Functions
CXIX. XML-RPC Functions
CXX. xdiff Functions
CXXI. XSL functions
CXXII. XSLT Functions
CXXIII. YAZ Functions
CXXIV. YP/NIS Functions
CXXV. Zip File Functions (Read Only Access)
CXXVI. Zlib Compression Functions
VI. Zend API
25. Overview
26. Extension Possibilities
27. Source Layout
28. PHP's Automatic Build System
29. Creating Extensions
30. Using Extensions
31. Troubleshooting
32. Source Discussion
33. Accepting Arguments
34. Creating Variables
35. Duplicating Variable Contents: The Copy Constructor
36. Returning Values
37. Printing Information
38. Startup and Shutdown Functions
39. Calling User Functions
40. Initialization File Support
41. Where to Go from Here
42. Reference: Some Configuration Macros
43. API Macros
VII. PHP API: Interfaces for extension writers
44. Streams API for PHP Extension Authors
VIII. FAQ: Frequently Asked Questions
45. General Information
46. Mailing lists
47. Obtaining PHP
48. Database issues
49. Installation
50. Build Problems
51. Using PHP
52. PHP and HTML
53. PHP and COM
54. PHP and other languages
55. Migrating from PHP 2 to PHP 3
56. Migrating from PHP 3 to PHP 4
57. Miscellaneous Questions
IX. Appendixes
A. History of PHP and related projects
B. Migrating from PHP 4 to PHP 5
C. Migrating from PHP 3 to PHP 4
D. Migrating from PHP/FI 2 to PHP 3
E. Debugging PHP
F. Extending PHP 3
G. Configure options
H. List of core php.ini directives
I. List of Function Aliases
J. List of Reserved Words
K. List of Resource Types
L. List of Supported Protocols/Wrappers
M. List of Available Filters
N. List of Supported Socket Transports
O. PHP type comparison tables
P. List of Parser Tokens
Q. About the manual
R. Open Publication License
S. Function Index
T. Missing Stuff

About ~ Privacy Statement ~ Terms of Use ~ ~ All

Additional Reading