svn: /phpdoc/en/trunk/language/ oop5.xml

From: Date: Wed, 09 Sep 2009 20:17:33 +0000
Subject: svn: /phpdoc/en/trunk/language/ oop5.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4888@lists.php.net to get a copy of this message
brandon Wed, 09 Sep 2009 20:17:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288211 Log: Adding text regarding the functionality in PHP 5's object model. Changed paths: U phpdoc/en/trunk/language/oop5.xml Modified: phpdoc/en/trunk/language/oop5.xml =================================================================== --- phpdoc/en/trunk/language/oop5.xml 2009-09-09 20:11:00 UTC (rev 288210) +++ phpdoc/en/trunk/language/oop5.xml 2009-09-09 20:17:33 UTC (rev 288211) @@ -6,9 +6,26 @@ <sect1 xml:id="oop5.intro"> <title>Introduction</title> <para> - In PHP 5 there is a new Object Model. PHP's handling of objects has been - completely rewritten, allowing for better performance and more features. + Starting with PHP 5, the object model was rewritten to allow for better + performance and more features. This was a major change from PHP 4. PHP 5 + has a full object model. </para> + <para> + Among the features in PHP 5 are the inclusions of + <link linkend="language.oop5.visibility">visibility</link>, + <link linkend="language.oop5.abstract">abstract</link> and + <link linkend="language.oop5.final">final</link> classes and methods, + additional <link linkend="language.oop5.magic">magic methods</link>, + <link linkend="language.oop5.interfaces">interfaces</link>, + <link linkend="language.oop5.cloning">cloning</link> and + <link linkend="language.oop5.typehinting">typehinting</link>. + </para> + <para> + PHP treats objects in the same way as references or handles, meaning that + each variable contains an object reference rather than a copy of the entire + object. See + <link linkend="language.oop5.references">Objects and References</link> + </para> &tip.userlandnaming; </sect1>

« previous php.doc.cvs (#4888) next »