php-doc-en/language/oop5.xml
Jakub Vrana b5dd8862bd Delete Patterns chapter
I have a very strong feeling that this chapter doesn't belong to the PHP Manual.
It doesn't document the language but only some usage of it.
It is vastly incomplete and the longest part is warning about using Singleton.
I have no problem with including the examples somewhere else (probably to chapter about static methods).
But it causes more harm than benefit as it is.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325666 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-13 02:29:51 +00:00

76 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<chapter xml:id="language.oop5" xmlns="http://docbook.org/ns/docbook">
<title>Classes and Objects</title>
<sect1 xml:id="oop5.intro">
<title>Introduction</title>
<para>
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>
&language.oop5.basic;
&language.oop5.properties;
&language.oop5.constants;
&language.oop5.autoload;
&language.oop5.decon;
&language.oop5.visibility;
&language.oop5.inheritance;
&language.oop5.paamayim-nekudotayim;
&language.oop5.static;
&language.oop5.abstract;
&language.oop5.interfaces;
&language.oop5.traits;
&language.oop5.overloading;
&language.oop5.iterations;
&language.oop5.magic;
&language.oop5.final;
&language.oop5.cloning;
&language.oop5.object-comparison;
&language.oop5.typehinting;
&language.oop5.late-static-bindings;
&language.oop5.references;
&language.oop5.serialization;
&language.oop5.changelog;
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->