com doc/ja: 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] (Yoshinari Takaoka) Mon, 15 Feb 2021 22:00:18 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: 2d22f0dd5e51569457accd17b917f4b1e64b08b3 Author: Yoshinari Takaoka <[email protected]> Tue, 16 Feb 2021 07:00:18 +0900 Parents: 1df3d94838088cb678f9b5497cd020a573f732a1 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=2d22f0dd5e51569457accd17b917f4b1e64b08b3 Log: Delete the PHP 5 SPL_Types extension. Months ago, PHP removed php 5 documentation and changelogs of core functionality - https://pecl.php.net/package/SPL_Types was last updated in 2012 and is not maintained. - SPL_Types is easy to confuse with the SPL - SPL_Types can cause confusion because PHP has typed properties(7.4), and will probably also have actual enums in 8.1 https://www.php.net/spl_types Co-authored-by: Christoph M. Becker <[email protected]> Closes GH-448. 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_2d22f0dd5e51569457accd17b917f4b1e64b08b3.txt
(text/plain, 32.5 KB)
diff --git a/reference/spl_types/book.xml b/reference/spl_types/book.xml
deleted file mode 100644
index 80420b6d3d..0000000000
--- a/reference/spl_types/book.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: takagi Status: ready -->
-<!-- State: new -->
-
-<book xml:id="book.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>SPL の型処理</title>
- <titleabbrev>SPL Types</titleabbrev>
-
- <!-- {{{ preface -->
- <preface xml:id="intro.spl-types">
- &reftitle.intro;
- <para>
- この拡張モジュールを使用すると、PHP をより強力な型付けの言語として使用することができ、
- スカラー型のタイプヒンティングの代替手段として使用できます。
- <type>int</type> や <type>float</type>、<type>bool</type>、<type>enum</type>
- などのさまざまな型処理用のクラスを提供します。
- </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 69adc06ecd..0000000000
--- a/reference/spl_types/configure.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: takagi Status: ready -->
-<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 ac4060f671..0000000000
--- a/reference/spl_types/constants.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 4de5cce5d886bf7ea08db8583141ff9715b47073 Maintainer: takagi Status: ready -->
-<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>
- (すべての SPL_Types オブジェクト __default 定数を持っており、
- ここにオブジェクトの値が格納されます。<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 f1a68aaafa..0000000000
--- a/reference/spl_types/reference.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: takagi Status: ready -->
-<reference xml:id="ref.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>SPL Type &Functions;</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 53656feed0..0000000000
--- a/reference/spl_types/setup.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: takagi Status: ready -->
-
-<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 f3902e7977..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: takagi Status: ready -->
-
-<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>SplBool クラス</title>
- <titleabbrev>SplBool</titleabbrev>
-
- <partintro>
-
-<!-- {{{ SplBool intro -->
- <section xml:id="splbool.intro">
- &reftitle.intro;
- <para>
- SplBool クラスは bool 型をより強力に型付けするために使用します。
- </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">定数</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><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 ff292a656c..0000000000
--- a/reference/spl_types/splenum.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: takagi Status: ready -->
-
-<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>SplEnum クラス</title>
- <titleabbrev>SplEnum</titleabbrev>
-
- <partintro>
-
-<!-- {{{ SplEnum intro -->
- <section xml:id="splenum.intro">
- &reftitle.intro;
- <para>
- SplEnum は、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">定数</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><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 c878114b39..0000000000
--- a/reference/spl_types/splenum/getconstlist.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: takagi Status: ready -->
-
-<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>すべての定数 (取り得る値) を配列で返す</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>
- <literal>__default</literal> プロパティを含めるか否か。
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
-
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title><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 8701375f95..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: takagi Status: ready -->
-
-<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>SplFloat クラス</title>
- <titleabbrev>SplFloat</titleabbrev>
-
- <partintro>
-
-<!-- {{{ SplFloat intro -->
- <section xml:id="splfloat.intro">
- &reftitle.intro;
- <para>
- SplFloat クラスは 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">定数</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><classname>SplFloat</classname> の使用例</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$float = new SplFloat(3.154);
-$newFloat = new SplFloat(3);
-
-try {
- $float = '試しに文字列をキャストしてみましょう';
-} 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 7ec992d34b..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: takagi Status: ready -->
-
-<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>SplInt クラス</title>
- <titleabbrev>SplInt</titleabbrev>
-
- <partintro>
-
-<!-- {{{ SplInt intro -->
- <section xml:id="splint.intro">
- &reftitle.intro;
- <para>
- SplInt クラスは 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">定数</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><classname>SplInt</classname> の使用例</title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$int = new SplInt(94);
-
-try {
- $int = '試しに文字列をキャストしてみましょう';
-} 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 100644
index eb220c696e..0000000000
--- a/reference/spl_types/splstring.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 50849115569da4ebf240f73d68923995881f9653 Maintainer: takagi Status: ready -->
-
-<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>SplString クラス</title>
- <titleabbrev>SplString</titleabbrev>
-
- <partintro>
-
-<!-- {{{ SplString intro -->
- <section xml:id="splstring.intro">
- &reftitle.intro;
- <para>
- SplString クラスは、文字列型をより強力に型付けするために使用します。
- </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">定数</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><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; // 出力は "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 79d8d8a785..0000000000
--- a/reference/spl_types/spltype.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: b8758b0605e80c4e3610137b7502a6abeea5c69b Maintainer: takagi Status: ready -->
-
-<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>SplType クラス</title>
- <titleabbrev>SplType</titleabbrev>
-
- <partintro>
-
-<!-- {{{ SplType intro -->
- <section xml:id="spltype.intro">
- &reftitle.intro;
- <para>
- すべての 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 4df2dbc900..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: takagi Status: ready -->
-<!-- Credits: mumumu -->
-
-<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>何らかの型の新しい値を作成する</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>
- 継承先のクラスに依存する、型と初期値。
- </para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><parameter>strict</parameter></term>
- <listitem>
- <para>
- オブジェクトの厳密性を設定するかどうか。
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1 role="errors">
- &reftitle.errors;
- <para>
- 互換生のない型を渡すと
- <classname>UnexpectedValueException</classname> をスローします。
- </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
--->