com doc/fr: Delete the PHP 5 SPL_Types extension.: re ference/spl_types/book.xml reference/spl_types/configur e.xml reference/spl_types/constants.xml reference/spl _types/reference.xml reference/spl_types/setup.xml reference/spl_types/splbool.xml reference/spl_types/spl enum.xml reference/spl_types/splenum/getconstlist.xml reference/spl_types/splfloat.xml reference/spl_types /splint.xml reference/spl_types/splstring.xml referen ce/spl_types/spltype.xml
[email protected] (George Peter Banyard) Wed, 17 Feb 2021 09:40:33 +0000
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
Commit: f8705c2dee8fa1c3523f0cf39c201920f93d4eb7 Author: George Peter Banyard <[email protected]> Wed, 17 Feb 2021 09:40:33 +0000 Parents: 7a44628fa0ed44c3fe05ac1c339bc3ab9566992d Branches: master Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=f8705c2dee8fa1c3523f0cf39c201920f93d4eb7 Log: Delete the PHP 5 SPL_Types extension. Changed paths: D reference/spl_types/book.xml D reference/spl_types/configure.xml D reference/spl_types/constants.xml D reference/spl_types/reference.xml D reference/spl_types/setup.xml D reference/spl_types/splbool.xml D reference/spl_types/splenum.xml D reference/spl_types/splenum/getconstlist.xml D reference/spl_types/splfloat.xml D reference/spl_types/splint.xml D reference/spl_types/splstring.xml D reference/spl_types/spltype.xml D reference/spl_types/spltype/construct.xml
diff_f8705c2dee8fa1c3523f0cf39c201920f93d4eb7.txt
(text/plain, 33.1 KB)
diff --git a/reference/spl_types/book.xml b/reference/spl_types/book.xml
deleted file mode 100644
index 48695968d6..0000000000
--- a/reference/spl_types/book.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- State: new -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: jpauli Status: ready -->
-<!-- Reviewed: yes -->
-
-<book xml:id="book.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>Gestion des types SPL</title>
- <titleabbrev>Types SPL</titleabbrev>
-
- <!-- {{{ preface -->
- <preface xml:id="intro.spl-types">
- &reftitle.intro;
- <para>
- Cette extension tend à aider les développeurs à faire de PHP un langage
- à type fort; cela peut être une bonne solution pour assurer le typage
- scalaire. Il fournit des classes pour gérer des objets tels que
- <type>int</type>, <type>float</type>, <type>bool</type>, <type>enum</type>, etc.
- </para>
- &warn.experimental;
- </preface>
- <!-- }}} -->
-
- &reference.spl-types.setup;
- &reference.spl-types.spltype;
- &reference.spl-types.splint;
- &reference.spl-types.splfloat;
- &reference.spl-types.splenum;
- &reference.spl-types.splbool;
- &reference.spl-types.splstring;
-
-</book>
-
-<!-- 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
--->
-
diff --git a/reference/spl_types/configure.xml b/reference/spl_types/configure.xml
deleted file mode 100644
index 7b8e64e0d7..0000000000
--- a/reference/spl_types/configure.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: dams Status: ready -->
-<!-- Reviewed: no -->
-
-<section xml:id="spl-types.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- &reftitle.install;
- <para>
- &pecl.info;
- <link xlink:href="&url.pecl.package;spl_types"/>.
- </para>
-</section>
-
-<!-- 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
--->
diff --git a/reference/spl_types/constants.xml b/reference/spl_types/constants.xml
deleted file mode 100644
index ad8c438351..0000000000
--- a/reference/spl_types/constants.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 4de5cce5d886bf7ea08db8583141ff9715b47073 Maintainer: jpauli Status: ready -->
-<!-- Reviewed: no -->
-
-<section xml:id="spl-types.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- &reftitle.constants;
- &extension.constants;
- <para>
- <variablelist>
- <varlistentry xml:id="constant.--default">
- <term>
- <constant>__default</constant>
- (Chaque objet SPL_Types contient une constante __default où la valeur de l'object est stockée.
- <type>int/float/bool/enum</type>)
- </term>
- <listitem>
- <simpara>
-
- </simpara>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
-</section>
-<!-- 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
--->
diff --git a/reference/spl_types/reference.xml b/reference/spl_types/reference.xml
deleted file mode 100644
index d9ffdadff8..0000000000
--- a/reference/spl_types/reference.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: dams Status: ready -->
-<!-- Reviewed: no -->
-
-<reference xml:id="ref.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>&Functions; de types SPL</title>
-</reference>
-
-<!-- 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
--->
diff --git a/reference/spl_types/setup.xml b/reference/spl_types/setup.xml
deleted file mode 100644
index e92499a5cf..0000000000
--- a/reference/spl_types/setup.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: jpauli Status: ready -->
-<!-- Reviewed: no -->
-
-<chapter xml:id="spl-types.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- &reftitle.setup;
-
- <section xml:id="spl-types.requirements">
- &reftitle.required;
- &no.requirement;
- </section>
-
- <section xml:id="spl-types.installation">
- &reftitle.install;
- <para>
- &pecl.moved;
- </para>
- <para>
- &pecl.info;
- <link xlink:href="&url.pecl.package;SPL_Types">&url.pecl.package;SPL_Types</link>.
- </para>
- <para>
- &pecl.windows.download;
- </para>
- </section>
-
- <section xml:id="spl-types.configuration">
- &reftitle.runtime;
- &no.config;
- </section>
-
- <section xml:id="spl-types.resources">
- &reftitle.resources;
- &no.resource;
- </section>
-
-</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
--->
-
diff --git a/reference/spl_types/splbool.xml b/reference/spl_types/splbool.xml
deleted file mode 100644
index 0b6fd8fe66..0000000000
--- a/reference/spl_types/splbool.xml
+++ /dev/null
@@ -1,153 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<phpdoc:classref xml:id="class.splbool" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>La classe SplBool</title>
- <titleabbrev>SplBool</titleabbrev>
-
- <partintro>
-
- <!-- {{{ SplBool intro -->
- <section xml:id="splbool.intro">
- &reftitle.intro;
- <para>
- La classe SplBool est utilisée pour assurer le typage fort du type booléen.
- </para>
- </section>
- <!-- }}} -->
-
- <section xml:id="splbool.synopsis">
- &reftitle.classsynopsis;
-
- <!-- {{{ Synopsis -->
- <classsynopsis>
- <ooclass><classname>SplBool</classname></ooclass>
-
- <!-- {{{ Class synopsis -->
- <classsynopsisinfo>
- <ooclass>
- <classname>SplBool</classname>
- </ooclass>
-
- <ooclass>
- <modifier>extends</modifier>
- <classname>SplEnum</classname>
- </ooclass>
- </classsynopsisinfo>
- <!-- }}} -->
- <classsynopsisinfo role="comment">Constantes</classsynopsisinfo>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>bool</type>
- <varname linkend="splbool.constants.default">SplBool::__default</varname>
- <initializer>&false;</initializer>
- </fieldsynopsis>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>bool</type>
- <varname linkend="splbool.constants.false">SplBool::false</varname>
- <initializer>&false;</initializer>
- </fieldsynopsis>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>bool</type>
- <varname linkend="splbool.constants.true">SplBool::true</varname>
- <initializer>&true;</initializer>
- </fieldsynopsis>
-
- <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
- </classsynopsis>
- <!-- }}} -->
-
- </section>
-
- <!-- {{{ SplBool constants -->
- <section xml:id="splbool.constants">
- &reftitle.constants;
- <variablelist>
-
- <varlistentry xml:id="splbool.constants.default">
- <term><constant>SplBool::__default</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- <varlistentry xml:id="splbool.constants.false">
- <term><constant>SplBool::false</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- <varlistentry xml:id="splbool.constants.true">
- <term><constant>SplBool::true</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </section>
- <!-- }}} -->
-
- <!-- {{{ examples -->
- <section xml:id="splbool.examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple d'utilisation de la classe <classname>SplBool</classname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$true = new SplBool(true);
-if ($true) {
- echo "TRUE\n";
-}
-
-$false = new SplBool;
-if ($false) {
- echo "FALSE\n";
-}
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-TRUE
-]]>
- </screen>
- </example>
- </para>
- </section>
- <!-- }}} -->
-
- </partintro>
-
-</phpdoc:classref>
-
-<!-- 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
--->
diff --git a/reference/spl_types/splenum.xml b/reference/spl_types/splenum.xml
deleted file mode 100644
index 3f1851a420..0000000000
--- a/reference/spl_types/splenum.xml
+++ /dev/null
@@ -1,149 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<phpdoc:classref xml:id="class.splenum" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>La classe SplEnum</title>
- <titleabbrev>SplEnum</titleabbrev>
-
- <partintro>
-
- <!-- {{{ SplEnum intro -->
- <section xml:id="splenum.intro">
- &reftitle.intro;
- <para>
- La classe SplEnum est utilisée pour émuler et créer des objets
- d'énumération nativement en PHP.
- </para>
- </section>
- <!-- }}} -->
-
- <section xml:id="splenum.synopsis">
- &reftitle.classsynopsis;
-
- <!-- {{{ Synopsis -->
- <classsynopsis>
- <ooclass><classname>SplEnum</classname></ooclass>
-
- <!-- {{{ Class synopsis -->
- <classsynopsisinfo>
- <ooclass>
- <classname>SplEnum</classname>
- </ooclass>
-
- <ooclass>
- <modifier>extends</modifier>
- <classname>SplType</classname>
- </ooclass>
- </classsynopsisinfo>
- <!-- }}} -->
- <classsynopsisinfo role="comment">Constantes</classsynopsisinfo>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>NULL</type>
- <varname linkend="splenum.constants.default">SplEnum::__default</varname>
- <initializer>&null;</initializer>
- </fieldsynopsis>
-
- <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
- <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
- </classsynopsis>
- <!-- }}} -->
-
- </section>
-
- <!-- {{{ SplEnum constants -->
- <section xml:id="splenum.constants">
- &reftitle.constants;
- <variablelist>
-
- <varlistentry xml:id="splenum.constants.default">
- <term><constant>SplEnum::__default</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </section>
- <!-- }}} -->
-
- <!-- {{{ examples -->
- <section xml:id="splenum.examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple d'utilisation de la classe <classname>SplEnum</classname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-class Month extends SplEnum {
- const __default = self::January;
-
- const January = 1;
- const February = 2;
- const March = 3;
- const April = 4;
- const May = 5;
- const June = 6;
- const July = 7;
- const August = 8;
- const September = 9;
- const October = 10;
- const November = 11;
- const December = 12;
-}
-
-echo new Month(Month::June) . PHP_EOL;
-
-try {
- new Month(13);
-} catch (UnexpectedValueException $uve) {
- echo $uve->getMessage() . PHP_EOL;
-}
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-6
-Value not a const in enum Month
-]]>
- </screen>
- </example>
- </para>
- </section>
- <!-- }}} -->
-
- </partintro>
-
- &reference.spl-types.entities.splenum;
-
-</phpdoc:classref>
-
-<!-- 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
--->
diff --git a/reference/spl_types/splenum/getconstlist.xml b/reference/spl_types/splenum/getconstlist.xml
deleted file mode 100644
index 8f1b5b42a6..0000000000
--- a/reference/spl_types/splenum/getconstlist.xml
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<refentry xml:id="splenum.getconstlist" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>SplEnum::getConstList</refname>
- <refpurpose>Retourne toutes les constantes sous la forme d'un tableau</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <modifier>public</modifier> <type>array</type><methodname>SplEnum::getConstList</methodname>
- <methodparam choice="opt"><type>bool</type><parameter>include_default</parameter><initializer>&false;</initializer></methodparam>
- </methodsynopsis>
- <para>
-
- </para>
-
- &warn.undocumented.func;
-
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <variablelist>
- <varlistentry>
- <term><parameter>include_default</parameter></term>
- <listitem>
- <para>
- Si l'on doit ou non inclure la propriété
- <literal>__default</literal>.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
-
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple avec <function>SplEnum::getConstList</function></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$bool = new SplBool;
-var_dump($bool->getConstList(true));
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-array(3) {
- ["__default"]=>
- bool(false)
- ["false"]=>
- bool(false)
- ["true"]=>
- bool(true)
-}
-]]>
- </screen>
- </example>
- </para>
- </refsect1>
-
-</refentry>
-
-<!-- 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
--->
diff --git a/reference/spl_types/splfloat.xml b/reference/spl_types/splfloat.xml
deleted file mode 100644
index 4ae962cfbe..0000000000
--- a/reference/spl_types/splfloat.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 3cf1fede294079c70ae7c795dbe47ada7f48640d Maintainer: jpauli Status: ready -->
-<!-- Reviewed: no -->
-
-<phpdoc:classref xml:id="class.splfloat" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>La classe SplFloat</title>
- <titleabbrev>SplFloat</titleabbrev>
-
- <partintro>
-
- <!-- {{{ SplFloat intro -->
- <section xml:id="splfloat.intro">
- &reftitle.intro;
- <para>
- La classe SplFloat est utilisée pour assurer le typage fort du type float.
- </para>
- </section>
- <!-- }}} -->
-
- <section xml:id="splfloat.synopsis">
- &reftitle.classsynopsis;
-
- <!-- {{{ Synopsis -->
- <classsynopsis>
- <ooclass><classname>SplFloat</classname></ooclass>
-
- <!-- {{{ Class synopsis -->
- <classsynopsisinfo>
- <ooclass>
- <classname>SplFloat</classname>
- </ooclass>
-
- <ooclass>
- <modifier>extends</modifier>
- <classname>SplType</classname>
- </ooclass>
- </classsynopsisinfo>
- <!-- }}} -->
- <classsynopsisinfo role="comment">Constantes</classsynopsisinfo>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>float</type>
- <varname linkend="splfloat.constants.default">SplFloat::__default</varname>
- <initializer>0</initializer>
- </fieldsynopsis>
-
- <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
- </classsynopsis>
- <!-- }}} -->
-
- </section>
-
- <!-- {{{ SplFloat constants -->
- <section xml:id="splfloat.constants">
- &reftitle.constants;
- <variablelist>
-
- <varlistentry xml:id="splfloat.constants.default">
- <term><constant>SplFloat::__default</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </section>
- <!-- }}} -->
-
- <!-- {{{ examples -->
- <section xml:id="splfloat.examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple d'utilisation de la classe <classname>SplFloat</classname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$float = new SplFloat(3.154);
-$newFloat = new SplFloat(3);
-
-try {
- $float = 'Try to cast a string value for fun';
-} catch (UnexpectedValueException $uve) {
- echo $uve->getMessage() . PHP_EOL;
-}
-
-echo $float . PHP_EOL;
-echo $newFloat . PHP_EOL;
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Value not a float
-3.154
-3
-]]>
- </screen>
- </example>
- </para>
- </section>
- <!-- }}} -->
-
- </partintro>
-
-</phpdoc:classref>
-
-<!-- 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
--->
diff --git a/reference/spl_types/splint.xml b/reference/spl_types/splint.xml
deleted file mode 100644
index a9184c8ce9..0000000000
--- a/reference/spl_types/splint.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<phpdoc:classref xml:id="class.splint" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>La classe SplInt</title>
- <titleabbrev>SplInt</titleabbrev>
-
- <partintro>
-
- <!-- {{{ SplInt intro -->
- <section xml:id="splint.intro">
- &reftitle.intro;
- <para>
- La classe SplInt est utilisée pour assurer le typage fort du type integer.
- </para>
- </section>
- <!-- }}} -->
-
- <section xml:id="splint.synopsis">
- &reftitle.classsynopsis;
-
- <!-- {{{ Synopsis -->
- <classsynopsis>
- <ooclass><classname>SplInt</classname></ooclass>
-
- <!-- {{{ Class synopsis -->
- <classsynopsisinfo>
- <ooclass>
- <classname>SplInt</classname>
- </ooclass>
-
- <ooclass>
- <modifier>extends</modifier>
- <classname>SplType</classname>
- </ooclass>
- </classsynopsisinfo>
- <!-- }}} -->
- <classsynopsisinfo role="comment">Constantes</classsynopsisinfo>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>int</type>
- <varname linkend="splint.constants.default">SplInt::__default</varname>
- <initializer>0</initializer>
- </fieldsynopsis>
-
- <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
- </classsynopsis>
- <!-- }}} -->
-
- </section>
-
- <!-- {{{ SplInt constants -->
- <section xml:id="splint.constants">
- &reftitle.constants;
- <variablelist>
-
- <varlistentry xml:id="splint.constants.default">
- <term><constant>SplInt::__default</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </section>
- <!-- }}} -->
-
- <!-- {{{ examples -->
- <section xml:id="splint.examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple d'utilisation de la classe <classname>SplInt</classname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$int = new SplInt(94);
-
-try {
- $int = 'Try to cast a string value for fun';
-} catch (UnexpectedValueException $uve) {
- echo $uve->getMessage() . PHP_EOL;
-}
-
-echo $int . PHP_EOL;
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Value not an integer
-94
-]]>
- </screen>
- </example>
- </para>
- </section>
- <!-- }}} -->
-
- </partintro>
-
-</phpdoc:classref>
-
-<!-- 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
--->
diff --git a/reference/spl_types/splstring.xml b/reference/spl_types/splstring.xml
deleted file mode 100755
index a2a8a5aadf..0000000000
--- a/reference/spl_types/splstring.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 50849115569da4ebf240f73d68923995881f9653 Maintainer: yannick Status: ready -->
-<!-- Reviewed: yes Maintainer: yannick -->
-
-<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splstring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>&class.theclass; SplString</title>
- <titleabbrev>SplString</titleabbrev>
-
- <partintro>
-
- <!-- {{{ SplString intro -->
- <section xml:id="splstring.intro">
- &reftitle.intro;
- <para>
- La classe <classname>SplString</classname> sert à assurer
- le typage fort des chaînes.
- </para>
- </section>
- <!-- }}} -->
-
- <section xml:id="splstring.synopsis">
- &reftitle.classsynopsis;
-
- <!-- {{{ Synopsis -->
- <classsynopsis>
- <ooclass><classname>SplString</classname></ooclass>
-
- <!-- {{{ Class synopsis -->
- <classsynopsisinfo>
- <ooclass>
- <classname>SplString</classname>
- </ooclass>
-
- <ooclass>
- <modifier>extends</modifier>
- <classname>SplType</classname>
- </ooclass>
- </classsynopsisinfo>
- <!-- }}} -->
- <classsynopsisinfo role="comment">Constantes</classsynopsisinfo>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>string</type>
- <varname linkend="splstring.constants.default">SplString::__default</varname>
- <initializer>''</initializer>
- </fieldsynopsis>
-
- <classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
-
- </classsynopsis>
- <!-- }}} -->
-
- </section>
-
- <!-- {{{ SplString constants -->
- <section xml:id="splstring.constants">
- &reftitle.constants;
- <variablelist>
-
- <varlistentry xml:id="splstring.constants.default">
- <term><constant>SplString::__default</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </section>
- <!-- }}} -->
-
- <!-- {{{ examples -->
- <section xml:id="splstring.examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Exemple d'utilisation <classname>SplString</classname></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$string = new SplString("Testing");
-
-try {
- $string = array();
-} catch (UnexpectedValueException $uve) {
- echo $uve->getMessage() . PHP_EOL;
-}
-
-var_dump($string);
-echo $string; // Affiche : "Testing"
-?>
-]]>
- </programlisting>
- &example.outputs;
- <screen>
-<![CDATA[
-Value not a string
-object(SplString)#1 (1) {
- ["__default"]=>
- string(7) "Testing"
-}
-Testing
-]]>
- </screen>
- </example>
- </para>
- </section>
- <!-- }}} -->
-
- </partintro>
-
-</phpdoc:classref>
-
-<!-- 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
--->
diff --git a/reference/spl_types/spltype.xml b/reference/spl_types/spltype.xml
deleted file mode 100644
index 125765c4cf..0000000000
--- a/reference/spl_types/spltype.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<phpdoc:classref xml:id="class.spltype" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
-
- <title>La classe SplType</title>
- <titleabbrev>SplType</titleabbrev>
-
- <partintro>
-
- <!-- {{{ SplType intro -->
- <section xml:id="spltype.intro">
- &reftitle.intro;
- <para>
- Classe parente pour tous les types SPL.
- </para>
- </section>
- <!-- }}} -->
-
- <section xml:id="spltype.synopsis">
- &reftitle.classsynopsis;
-
- <!-- {{{ Synopsis -->
- <classsynopsis>
- <ooclass><classname>SplType</classname></ooclass>
-
- <!-- {{{ Class synopsis -->
- <classsynopsisinfo>
- <ooclass>
- <modifier>abstract</modifier> <classname>SplType</classname>
- </ooclass>
- </classsynopsisinfo>
- <!-- }}} -->
- <classsynopsisinfo role="comment">Constants</classsynopsisinfo>
- <fieldsynopsis>
- <modifier>const</modifier>
- <type>NULL</type>
- <varname linkend="spltype.constants.default">SplType::__default</varname>
- <initializer>&null;</initializer>
- </fieldsynopsis>
-
- <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.spltype')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
- </classsynopsis>
- <!-- }}} -->
-
- </section>
-
- <!-- {{{ SplType constants -->
- <section xml:id="spltype.constants">
- &reftitle.constants;
- <variablelist>
-
- <varlistentry xml:id="spltype.constants.default">
- <term><constant>SplType::__default</constant></term>
- <listitem>
- <para></para>
- </listitem>
- </varlistentry>
-
- </variablelist>
- </section>
- <!-- }}} -->
-
-
- </partintro>
-
- &reference.spl-types.entities.spltype;
-
-</phpdoc:classref>
-
-<!-- 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
--->
diff --git a/reference/spl_types/spltype/construct.xml b/reference/spl_types/spltype/construct.xml
deleted file mode 100644
index 7f13648c81..0000000000
--- a/reference/spl_types/spltype/construct.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 37b30e4e87272dbc417c309c1aebe4f386384bd7 Maintainer: yannick Status: ready -->
-<!-- Reviewed: no -->
-
-<refentry xml:id="spltype.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
- <refname>SplType::__construct</refname>
- <refpurpose>Crée une nouvelle valeur d'un certain type</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <methodname>SplType::__construct</methodname>
- <methodparam choice="opt"><type>mixed</type><parameter>initial_value</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>strict</parameter></methodparam>
- </methodsynopsis>
- <para>
-
- </para>
-
- &warn.undocumented.func;
-
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <variablelist>
- <varlistentry>
- <term><parameter>initial_value</parameter></term>
- <listitem>
- <para>
- Type et valeur par défaut dépendent de la classe de l'extension.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>strict</parameter></term>
- <listitem>
- <para>
- Si l'on doit définir l'objet strictement.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1 role="errors">
- &reftitle.errors;
- <para>
- Lance une exception <classname>UnexpectedValueException</classname>
- si un type non compatible est fourni.
- </para>
- </refsect1>
-
-</refentry>
-
-<!-- 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
--->