http://www.54chen.com,php技术交流
怎样修改配置设定
基本语法
PHP 手册
PHP Manual
语言参考
基本语法
从 HTML 中分离
指令分隔符
注释
类型
简介
布尔类型
整型
浮点型
Strings
数组
对象
资源类型
NULL
本文档中使用的伪类型
类型转换的判别
变量
基础
预定义变量
变量范围
可变变量
来自 PHP 之外的变量
常量
语法
魔术常量
表达式
运算符
运算符优先级
算术运算符
赋值运算符
位运算符
比较运算符
错误控制运算符
执行运算符
递增/递减运算符
逻辑运算符
字符串运算符
数组运算符
类型运算符
控制结构
if
else
elseif/else if
流程控制的替代语法
while
do-while
for
foreach
break
continue
switch
declare
return
require
include
require_once
include_once
函数
用户自定义函数
函数的参数
返回值
可变函数
内部(内置)函数
类与对象(PHP 4)
类
继承
构造函数
范围解析操作符(::)
parent
序列化对象 - 会话中的对象
魔术函数 __sleep 和 __wakeup
构造函数中的引用
对象的比较
类与对象(PHP 5)
前言
基本概念
自动加载对象
构造函数和析构函数
访问控制
范围解析操作符(::)
Static关键字
类常量
抽象类
接口
重载
对象迭代
设计模式
魔术方法
Final关键字
对象复制
对象比较
Reflection
Type Hinting
Late Static Bindings
Objects and references
命名空间
命名空间概述
定义命名空间
定义子命名空间
在同一个文件中定义多个命名空间
使用命名空间:基础
命名空间和动态语言特征
namespace关键字和__NAMESPACE__常量
使用命名空间:别名/导入
全局空间
使用命名空间:后备全局函数/常量
名称解析规则
FAQ: things you need to know about namespaces
异常处理
扩展 PHP 内置的异常处理类
引用的解释
引用是什么
引用做什么
引用不是什么
引用传递
引用返回
取消引用
引用定位
Predefined variables
Predefined Exceptions
Exception::__construct
— Construct the exception
Exception::getMessage
— Gets the Exception message
Exception::getCode
— Gets the Exception code
Exception::getFile
— Gets the file in which the exception occurred
Exception::getLine
— Gets the line in which the exception occurred
Exception::getTrace
— Gets the stack trace
Exception::getTraceAsString
— Gets the stack trace as a string
Exception::__toString
— String representation of the exception
Exception::__clone
— Clone the exception
ErrorException::__construct
— Construct the exception
ErrorException::getSeverity
— Gets the exception severity
Predefined Interfaces
Iterator::current
— Return the current element.
Iterator::key
— Return the key of the current element.
Iterator::next
— Move forward to next element.
Iterator::rewind
— Rewind the Iterator to the first element.
Iterator::valid
— Checks if current position is valid.
IteratorAggregate::getIterator
— Retrieve an external iterator
ArrayAccess::offsetExists
— Whether a offset exists
ArrayAccess::offsetGet
— Offset to retrieve
ArrayAccess::offsetSet
— Offset to set
ArrayAccess::offsetUnset
— Offset to unset
Serializable::serialize
— String representation of object
Serializable::unserialize
— Constructs the object
Context options and parameters
Socket context options
— Socket context option listing
HTTP context options
— HTTP context option listing
FTP context options
— FTP context option listing
SSL context options
— SSL context option listing
CURL context options
— CURL context option listing
Context parameters
— Context parameter listing
怎样修改配置设定
基本语法
PHP 手册
PHP Manual
©我是陈-参与讨论与建设
2009/1/9 19:30:16
Loading User Notes