PHP Manual
Mehdi Achour
Friedhelm Betz
Antony Dovgal
Nuno Lopes
Philip Olson
Georg Richter
Damien Seguy
Jakub Vrana
更多作者
编辑
Gabor Hojtsy
编辑
王远之
肖理达
肖盛文
黄啸宇
陈伯乐
宋琪
刘铭
崔岩
李达
穆少磊
周皓
孙虑
2005-07-13
版权
c 1997-2005 PHP 文档小组
目录
序文
作者和贡献者
I.
入门指引
1.
简介
2.
简明教程
II.
安装与配置
3.
安装前需要考虑的事项
4.
Unix 系统下的安装
5.
Mac OS X 系统下的安装
6.
Windows 系统下的安装
7.
Installation of PECL extensions
8.
Problems?
9.
Runtime Configuration
III.
语言参考
10.
基本语法
11.
类型
12.
变量
13.
常量
14.
表达式
15.
运算符
16.
流程控制
17.
函数
18.
类与对象(PHP 4)
19.
类与对象(PHP 5)
20.
Exceptions
21.
引用的解释
IV.
安全
22.
Introduction
23.
General considerations
24.
Installed as CGI binary
25.
Installed as an Apache module
26.
Filesystem Security
27.
Database Security
28.
Error Reporting
29.
Using Register Globals
30.
User Submitted Data
31.
Magic Quotes
32.
Hiding PHP
33.
Keeping Current
V.
特点
34.
用 PHP 进行 HTTP 认证
35.
Cookies
36.
Sessions
37.
Dealing with XForms
38.
文件上传处理
39.
使用远程文件
40.
连接处理
41.
数据库永久连接
42.
安全模式
43.
PHP 的命令行模式
VI.
函数参考
I.
Apache 函数库
II.
Advanced PHP debugger
III.
数组函数库
IV.
Aspell 函数库 [已废弃]
V.
BCMath 任意精度数学函数库
VI.
PHP bytecode Compiler
VII.
Bzip2 压缩函数库
VIII.
日历函数库
IX.
CCVS API Functions [deprecated]
X.
Classkit Functions
XI.
类/对象函数库
XII.
Windows 的 COM 支持函数库
XIII.
ClibPDF Functions
XIV.
Crack Functions
XV.
Character Type Functions
XVI.
CURL, Client URL Library Functions
XVII.
Cybercash Payment Functions
XVIII.
Credit Mutuel CyberMUT functions
XIX.
Cyrus IMAP administration Functions
XX.
时间日期函数库
XXI.
Database (dbm-style) Abstraction Layer Functions
XXII.
dBase Functions
XXIII.
DBM Functions [deprecated]
XXIV.
DB++ Functions
XXV.
dbx Functions
XXVI.
Direct IO Functions
XXVII.
目录函数库
XXVIII.
DOM Functions
XXIX.
DOM XML Functions
XXX.
.NET Functions
XXXI.
Error Handling and Logging Functions
XXXII.
Program Execution Functions
XXXIII.
Exif Functions
XXXIV.
File Alteration Monitor Functions
XXXV.
FrontBase Functions
XXXVI.
Forms Data Format Functions
XXXVII.
filePro Functions
XXXVIII.
文件系统函数库
XXXIX.
FriBiDi Functions
XL.
FTP 函数库
XLI.
Function Handling Functions
XLII.
Gettext
XLIII.
GMP Functions
XLIV.
HTTP 相关函数库
XLV.
Hyperwave Functions
XLVI.
Hyperwave API Functions
XLVII.
Firebird/InterBase Functions
XLVIII.
IBM DB2, Cloudscape and Apache Derby Functions
XLIX.
ICAP Functions [deprecated]
L.
iconv Functions
LI.
ID3 Functions
LII.
Informix Functions
LIII.
IIS Administration Functions
LIV.
图像函数库
LV.
IMAP, POP3 and NNTP Functions
LVI.
PHP Options&Information
LVII.
Ingres II Functions
LVIII.
IRC Gateway Functions
LIX.
PHP / Java Integration
LX.
KADM5
LXI.
LDAP Functions
LXII.
libxml Functions
LXIII.
LZF Functions
LXIV.
Mail Functions
LXV.
mailparse Functions
LXVI.
数学函数库
LXVII.
MaxDB PHP Extension
LXVIII.
Multibyte String Functions
LXIX.
MCAL Functions
LXX.
Mcrypt Encryption Functions
LXXI.
MCVE Payment Functions
LXXII.
Memcache Functions
LXXIII.
Mhash Functions
LXXIV.
Mimetype Functions
LXXV.
Ming functions for Flash
LXXVI.
Miscellaneous Functions
LXXVII.
mnoGoSearch Functions
LXXVIII.
Mohawk Software Session Handler Functions
LXXIX.
mSQL Functions
LXXX.
Microsoft SQL Server Functions
LXXXI.
muscat Functions
LXXXII.
MySQL 函数库
LXXXIII.
Improved MySQL Extension
LXXXIV.
Ncurses Terminal Screen Control Functions
LXXXV.
Net_Gopher
LXXXVI.
Network Functions
LXXXVII.
YP/NIS Functions
LXXXVIII.
Lotus Notes Functions
LXXXIX.
NSAPI-specific Functions
XC.
Object Aggregation/Composition Functions
XCI.
Oracle 8 函数库
XCII.
oggvorbis
XCIII.
OpenAL Audio Bindings
XCIV.
OpenSSL Functions
XCV.
Oracle 函数库
XCVI.
输出控制函数
XCVII.
Object property and method call overloading
XCVIII.
Ovrimos SQL Functions
XCIX.
Paradox File Access
C.
Parsekit Functions
CI.
Process Control Functions
CII.
正则表达式函数库(Perl 兼容)
CIII.
PDF functions
CIV.
PDO Functions
CV.
Verisign Payflow Pro Functions
CVI.
PostgreSQL 数据库函数库
CVII.
POSIX Functions
CVIII.
Printer Functions
CIX.
PostScript document creation
CX.
Pspell Functions
CXI.
qtdom Functions
CXII.
Radius
CXIII.
Rar Functions
CXIV.
GNU Readline
CXV.
GNU Recode Functions
CXVI.
正则表达式函数库(POSIX 扩展)
CXVII.
runkit Functions
CXVIII.
Semaphore, Shared Memory and IPC Functions
CXIX.
SESAM Database Functions
CXX.
Session Handling Functions
CXXI.
Shared Memory Functions
CXXII.
SimpleXML functions
CXXIII.
SNMP 函数库
CXXIV.
SOAP Functions
CXXV.
Socket Functions
CXXVI.
Standard PHP Library (SPL) Functions
CXXVII.
SQLite Functions
CXXVIII.
Secure Shell2 Functions
CXXIX.
Stream Functions
CXXX.
字符串处理函数库
CXXXI.
Shockwave Flash Functions
CXXXII.
Sybase Functions
CXXXIII.
TCP Wrappers Functions
CXXXIV.
Tidy Functions
CXXXV.
Tokenizer Functions
CXXXVI.
ODBC Functions (Unified)
CXXXVII.
URL 函数库
CXXXVIII.
变量函数库
CXXXIX.
vpopmail Functions
CXL.
W32api 函数库
CXLI.
WDDX Functions
CXLII.
xattr Functions
CXLIII.
xdiff Functions
CXLIV.
XML 语法解析函数库
CXLV.
XML-RPC 函数库
CXLVI.
XSL functions
CXLVII.
XSLT Functions
CXLVIII.
YAZ Functions
CXLIX.
Zip File Functions (Read Only Access)
CL.
Zlib Compression Functions
VII.
Zend API
44.
Overview
45.
Extension Possibilities
46.
Source Layout
47.
PHP's Automatic Build System
48.
Creating Extensions
49.
Using Extensions
50.
Troubleshooting
51.
Source Discussion
52.
Accepting Arguments
53.
Creating Variables
54.
Duplicating Variable Contents: The Copy Constructor
55.
Returning Values
56.
Printing Information
57.
Startup and Shutdown Functions
58.
Calling User Functions
59.
Initialization File Support
60.
Where to Go from Here
61.
Reference: Some Configuration Macros
62.
API Macros
VIII.
PHP API: 扩展开发接口
63.
Streams API for PHP Extension Authors
CLI.
Streams Common API Reference
CLII.
Streams Dir API Reference
CLIII.
Streams File API Reference
CLIV.
Streams Socket API Reference
CLV.
Streams Structures
CLVI.
Streams Constants
IX.
FAQ: 常见问题
64.
一般信息
65.
邮件列表
66.
获取 PHP
67.
数据库问题
68.
安装
69.
编译问题
70.
使用 PHP
71.
PHP 和 HTML
72.
PHP 和 COM
73.
PHP 和其它语言
74.
从 PHP/FI 2 移植到 PHP 3
75.
从 PHP 3 移植到 PHP 4
76.
Migrating from PHP 4 to PHP 5
77.
杂类问题
X.
附录
A.
PHP 及其相关工程的历史
B.
Migrating from PHP 4 to PHP 5
C.
从 PHP 3 移植到 PHP 4
D.
从 PHP/FI 2 移植到 PHP 3
E.
PHP 的调试
F.
扩展 PHP 3
G.
配置选项
H.
php.ini
配置选项
I.
函数别名列表
J.
保留字列表
K.
资源类型列表
L.
支持的协议/封装协议列表
M.
List of Available Filters
N.
所支持的套接字传输器(Socket Transports)列表
O.
PHP 类型及比较符表
P.
解析器代号列表
Q.
关于本手册
R.
Open Publication License
S.
函数索引
T.
补充说明
前进
序文