php-doc-en/language/oop5.xml
George Peter Banyard a9a6224ca9 Split type declarations into their dedicated page
Remove obsolete OOP5 TypeHinting page
Document union types

Closes GH-174

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351365 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 18:39:19 +00:00

72 lines
2.1 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>
PHP includes a complete object model.
Some of its features are:
<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>, and
<link linkend="language.oop5.cloning">cloning</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.anonymous;
&language.oop5.overloading;
&language.oop5.iterations;
&language.oop5.magic;
&language.oop5.final;
&language.oop5.cloning;
&language.oop5.object-comparison;
&language.oop5.late-static-bindings;
&language.oop5.references;
&language.oop5.serialization;
&language.oop5.variance;
&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
-->