downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

基本概念> <类与对象
[edit] Last updated: Fri, 25 May 2012

view this page in

前言

PHP 5 引入了新的对象模型(Object Model)。完全重写了 PHP 处理对象的方式,允许更佳性能和更多特性。

PHP5中的新特性包括 可见性, 抽象类final 类、类方法, 魔术方法, 接口, 对象克隆类型提示.

PHP当中对象是按引用传递的,即每个包含对象的变量都持有对象的引用(reference),而不是整个对象的拷贝。 请参阅对象与引用

Tip

请参见Userland Naming Guide



add a note add a note User Contributed Notes 前言
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites