<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >类与对象(PHP 5)</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="语言参考" HREF="langref.html"><LINK REL="PREVIOUS" TITLE="对象的比较" HREF="language.oop.object-comparison.html"><LINK REL="NEXT" TITLE="基本概念" HREF="language.oop5.basic.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="chapter" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="language.oop.object-comparison.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="language.oop5.basic.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="chapter" ><H1 ><A NAME="language.oop5" >章 19. 类与对象(PHP 5)</A ></H1 ><DIV CLASS="TOC" ><DL ><DT ><B >目录</B ></DT ><DT ><A HREF="language.oop5.html#op5.intro" >前言</A ></DT ><DT ><A HREF="language.oop5.basic.html" >基本概念</A ></DT ><DT ><A HREF="language.oop5.autoload.html" >自动加载对象</A ></DT ><DT ><A HREF="language.oop5.decon.html" >构造函数和析构函数</A ></DT ><DT ><A HREF="language.oop5.visibility.html" >访问控制</A ></DT ><DT ><A HREF="language.oop5.paamayim-nekudotayim.html" >范围解析操作符(::)</A ></DT ><DT ><A HREF="language.oop5.static.html" >Static Keyword</A ></DT ><DT ><A HREF="language.oop5.constants.html" >Class Constants</A ></DT ><DT ><A HREF="language.oop5.abstract.html" >Class Abstraction</A ></DT ><DT ><A HREF="language.oop5.interfaces.html" >Object Interfaces</A ></DT ><DT ><A HREF="language.oop5.overloading.html" >Overloading</A ></DT ><DT ><A HREF="language.oop5.iterations.html" >Object Iteration</A ></DT ><DT ><A HREF="language.oop5.patterns.html" >Patterns</A ></DT ><DT ><A HREF="language.oop5.magic.html" >Magic Methods</A ></DT ><DT ><A HREF="language.oop5.final.html" >Final Keyword</A ></DT ><DT ><A HREF="language.oop5.cloning.html" >Object cloning</A ></DT ><DT ><A HREF="language.oop5.object-comparison.html" >Comparing objects</A ></DT ><DT ><A HREF="language.oop5.reflection.html" >Reflection</A ></DT ><DT ><A HREF="language.oop5.typehinting.html" >Type Hinting</A ></DT ></DL ></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="op5.intro" >前言</A ></H1 ><P > PHP 5 引入了新的对象模型(Object Model)。完全重写了 PHP 处理对象的方式,允许更佳性能和更多特性。 </P ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="language.oop.object-comparison.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="language.oop5.basic.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >对象的比较</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="langref.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >基本概念</TD ></TR ></TABLE ></DIV ></BODY ></HTML >