cvs: peardoc /ja/package/database/mdb2 intro.xml /ja/package/fileformats/file-marc formatting.xml reading.xml /ja/package/php/php-compatinfo cli.xml
whatsnew.xml /ja/package/php/php-compatinfo/php-compatinfo loadversion.xml
| From: | TAKAGI Masahiro | Date: | Thu, 14 Feb 2008 03:52:22 +0000 |
| Subject: | cvs: peardoc /ja/package/database/mdb2 intro.xml /ja/package/fileformats/file-marc formatting.xml reading.xml /ja/package/php/php-compatinfo cli.xml whatsnew.xml /ja/package/php/php-compatinfo/php-compatinfo loadversion.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10477@lists.php.net to get a copy of this message | ||
takagi Thu Feb 14 03:52:22 2008 UTC
Modified files:
/peardoc/ja/package/php/php-compatinfo/php-compatinfo
loadversion.xml
/peardoc/ja/package/php/php-compatinfo whatsnew.xml cli.xml
/peardoc/ja/package/fileformats/file-marc reading.xml
formatting.xml
/peardoc/ja/package/database/mdb2 intro.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml diff -u peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml:1.1 peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml:1.2 --- peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml:1.1 Sat Feb 2 06:25:39 2008 +++ peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.php.php-compatinfo.php-compatinfo.loadversion"> <refnamediv> <refname><function>PHP_CompatInfo::loadVersion</function></refname> @@ -16,6 +16,7 @@ <funcdef>array <function>PHP_CompatInfo::loadVersion</function></funcdef> <paramdef>string <parameter>$min</parameter></paramdef> <paramdef>string|boolean <parameter> <optional>$max = &false;</optional></parameter></paramdef> + <paramdef>boolean <parameter> <optional>$include_const = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -53,6 +54,17 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term> + <type>boolean</type> + <parameter>$include_const</parameter> + </term> + <listitem> + <para> + (ãªãã·ã§ã³) çµæã«å®æ°ä¸è¦§ãå«ãããã©ããã + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -60,7 +72,12 @@ <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.returns"> &title.returns; <para> - ç¡è¦ãã颿°åã®é åãè¿ãã¾ãã + æå®ãããã¼ã¸ã§ã³ã§ä½¿ç¨ã§ãã PHP ã®é¢æ°ã®é åãè¿ãã¾ãã + </para> + <para> + æå®ãããã¼ã¸ã§ã³ã§ä½¿ç¨ã§ãã PHP ã®é¢æ°ããã³å®æ°ã®é åãè¿ãã¾ãã + ããã¯ãAPI 1.6.0 以éã§ 3 çªç®ã®ãã©ã¡ã¼ã¿ ($include_const) + ãæå®ããå ´åã«å¾ããã¾ãã </para> </refsect1> @@ -82,6 +99,81 @@ &title.note; ¬e.notstatic; </refsect1> + + <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.example"> + &title.example; + <para> + PHP ãã¼ã¸ã§ã³ 4.3.10 ã§ä½ãå¤ãã£ãã®ã? + <programlisting role="php"> + <![CDATA[ +<?php +require_once 'PHP/CompatInfo.php'; + +$pci = new PHP_CompatInfo(); +$res = $pci->loadVersion('4.3.10', '4.3.10', true); +var_export($res); +?> + ]]> + </programlisting> + çµæã¯ã颿°ã 0 ä»¶ã§å®æ°ã 2 ä»¶ã¨ãªãã¾ãã + <screen> +array ( + 'functions' => + array ( + ), + 'constants' => + array ( + 0 => 'PHP_EOL', + 1 => 'UPLOAD_ERR_NO_TMP_DIR', + ), +) + </screen> + </para> + + <para> + PHP ãã¼ã¸ã§ã³ 5.2.1 ã§ä½ãå¤ãã£ãã®ã? + <programlisting role="php"> + <![CDATA[ +<?php +require_once 'PHP/CompatInfo.php'; + +$pci = new PHP_CompatInfo(); +$res = $pci->loadVersion('5.2.1'); +var_export($res); +?> + ]]> + </programlisting> + çµæã¯ã颿°ã 24 ä»¶ã¨ãªãã¾ãã + <screen> +array ( + 0 => 'cachingiterator::count', + 1 => 'directoryiterator::getbasename', + 2 => 'imagegrabscreen', + 3 => 'imagegrabwindow', + 4 => 'ming_setswfcompression', + 5 => 'mysql_set_charset', + 6 => 'openssl_pkcs12_export', + 7 => 'openssl_pkcs12_export_to_file', + 8 => 'openssl_pkcs12_read', + 9 => 'php_ini_loaded_file', + 10 => 'reflectionextension::info', + 11 => 'regexiterator::setpregflags', + 12 => 'splfileinfo::getbasename', + 13 => 'splfileinfo::getlinktarget', + 14 => 'splfileinfo::getrealpath', + 15 => 'splobjectstorage::serialize', + 16 => 'splobjectstorage::unserialize', + 17 => 'stream_is_local', + 18 => 'stream_socket_shutdown', + 19 => 'swfmovie::namedanchor', + 20 => 'swfmovie::protect', + 21 => 'swfmovie::remove', + 22 => 'sys_get_temp_dir', + 23 => 'tidynode::getparent', +) + </screen> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/php/php-compatinfo/whatsnew.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/php/php-compatinfo/whatsnew.xml diff -u peardoc/ja/package/php/php-compatinfo/whatsnew.xml:1.1 peardoc/ja/package/php/php-compatinfo/whatsnew.xml:1.2 --- peardoc/ja/package/php/php-compatinfo/whatsnew.xml:1.1 Sat Feb 2 06:25:39 2008 +++ peardoc/ja/package/php/php-compatinfo/whatsnew.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="package.php.php-compatinfo.whatsnew"> <refnamediv> <refname>ãã¥ã¼ã¹</refname> @@ -231,6 +231,76 @@ </para> </refsect1> + <refsect1 id="package.php.php-compatinfo.whatsnew.16x"> + <title>ãã¼ã¸ã§ã³ 1.6.x</title> + <para> + <itemizedlist> + <listitem> + <para><emphasis role="bold">PHP5 ã®æ¤åºãæ¹å</emphasis> + ãã¾ãããæ°ãããã¼ã¿ã½ã¼ã¹ã¨ã㦠+ <ulink url="http://cvs.php.net/viewcvs.cgi/phpdoc/phpbook/phpbook-xsl/version.xml">version.xml</ulink> + (revision 1.9) ããã³ + <ulink url="http://cvs.php.net/viewcvs.cgi/phpdoc/funclist.txt">funclist.txt</ulink> + (revision 1.39) ã使ç¨ããããã«ãã¾ããã + </para> + <para> + PHP ã®å®æ°ã®ãã¡ããã¤ãã£ãã«æ¤åºã§ãããã®ãå¢ãã¾ããã + </para> + <para> + <itemizedlist> + <listitem> + <para> + <ulink url="&url.php.manual;ja/reserved.constants.php"> + ã³ã¢ã®å®ç¾©æ¸ã¿å®æ° + </ulink> ( PHP_EOL, DIRECTORY_SEPARATOR, PATH_SEPARATOR, E_STRICT ) + </para> + </listitem> + <listitem> + <para> + <ulink url="&url.php.manual;ja/ref.datetime.php"> + æ¥ä»ã«é¢ããå®ç¾©æ¸ã¿å®æ° + </ulink> ( DATE_* ) + </para> + </listitem> + <listitem> + <para> + <ulink url="&url.php.manual;ja/features.commandline.php"> + CLI åºæã®å®æ° + </ulink> ( STD* ) + </para> + </listitem> + <listitem> + <para> + <ulink url="&url.php.manual;ja/features.commandline.php"> + ãã¡ã¤ã«ã¢ãããã¼ãæã®ã¨ã©ã¼ã«é¢ãã宿° + </ulink> ( UPLOAD_ERR_* ) + </para> + </listitem> + </itemizedlist> + </para> + </listitem> + <listitem> + <para><emphasis role="bold">ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ã¼ãã§ã¤ã¹</emphasis> + ã§ãã·ã³ãã«ãªæåå (ã¹ã¯ãªããã¿ã° <?php ... ?> + ãå«ã¾ãªãã³ã¼ã) ã®ãã¼ã¸ã§ã³ãæ¤åºã§ããããã«ãªãã¾ããã + æ°ãããã©ã¡ã¼ã¿ -s ããã㯠--string ã使ç¨ãã¾ãã + </para> + </listitem> + <listitem> + <para><emphasis role="bold">loadVersion()</emphasis> + ãã颿°ãããã¯é¢æ°+宿°ã®ä¸è¦§ãè¿ããããã«ãªãã¾ããã + </para> + </listitem> + <listitem> + <para><emphasis role="bold">PHP ã®ã¡ã½ãããã§ã¤ã³</emphasis> ã + "Davey Shafik" ãå®è£ ãã¾ããããªã¯ã¨ã¹ã + <ulink url="&url.pear.bugs;13094">#13094</ulink> ãåç §ãã ããã + </para> + </listitem> + </itemizedlist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/php/php-compatinfo/cli.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/php/php-compatinfo/cli.xml diff -u peardoc/ja/package/php/php-compatinfo/cli.xml:1.1 peardoc/ja/package/php/php-compatinfo/cli.xml:1.2 --- peardoc/ja/package/php/php-compatinfo/cli.xml:1.1 Sat Feb 2 06:25:39 2008 +++ peardoc/ja/package/php/php-compatinfo/cli.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.php.php-compatinfo.cli"> <refnamediv> <refname>CLI</refname> @@ -21,8 +21,9 @@ <synopsis> pci [options] -f FILE | -d DIR </synopsis> - pci ãå®è¡ããéã«ã¯ãå°ãªãã¨ã <parameter>-f</parameter> (--file) ã - <parameter>-d</parameter> (--dir) ã®ã©ã¡ããã®ã¹ã¤ãããæå®ãã¾ãã + pci ãå®è¡ããéã«ã¯ãå°ãªãã¨ã <parameter>-s</parameter> (--string)ã + <parameter>-f</parameter> (--file) ããã㯠+ <parameter>-d</parameter> (--dir) ã®ããããã®ã¹ã¤ãããæå®ãã¾ãã ããã¦ãå¿ è¦ã«å¿ãã¦è¿½å ã®ãªãã·ã§ã³ãæå®ãããã¨ã«ãªãã§ãããã </para> </refsect2> @@ -53,6 +54,17 @@ </varlistentry> <varlistentry> <term> + <parameter>-s</parameter> | <parameter>--string</parameter> + </term> + <listitem> + <para> + ã·ã³ãã«ãª php ã³ã¼ãæåå (ã¹ã¯ãªããã¿ã° <?php ... ?> ãé¤ãããã®) + ãæå®ãã¾ãã + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> <parameter>-n</parameter> | <parameter>--no-recurse</parameter> </term> <listitem> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-marc/reading.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/ja/package/fileformats/file-marc/reading.xml diff -u peardoc/ja/package/fileformats/file-marc/reading.xml:1.4 peardoc/ja/package/fileformats/file-marc/reading.xml:1.5 --- peardoc/ja/package/fileformats/file-marc/reading.xml:1.4 Tue Aug 28 22:19:36 2007 +++ peardoc/ja/package/fileformats/file-marc/reading.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <refentry id="package.fileformats.file-marc.reading"> <refnamediv> <refname>MARC ãã¼ã¿ã®èªã¿è¾¼ã¿</refname> @@ -24,8 +24,8 @@ <refsect1 id="package.fileformats.file-marc.reading.source"> <title>ãã¾ãã¾ãªã½ã¼ã¹ããã® MARC ãã¼ã¿ã®èªã¿è¾¼ã¿</title> <para> - å ¥åå ã¯ãPHP ã®ã¹ããªã¼ã (<constant>SOURCE_FILE</constant>) ãããã¯æåå - (<constant>SOURCE_STRING</constant>) ã¨ãªãã¾ãã + å ¥åå ã¯ãPHP ã®ã¹ããªã¼ã (<constant>File_MARC::SOURCE_FILE</constant>) ãããã¯æåå + (<constant>File_MARC::SOURCE_STRING</constant>) ã¨ãªãã¾ãã <classname>File_MARC</classname> ããã³ <classname>File_MARCXML</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ã§ãæåã®å¼æ°ã¨ãã¦ã½ã¼ã¹ã®ä½ç½®ãã äºçªç®ã®å¼æ°ã¨ãã¦ã½ã¼ã¹ã®å½¢å¼ãæå®ãã¾ãã @@ -41,7 +41,7 @@ <filename>journals.mrc</filename> ããã¡ã¤ã«åãªã®ã MARC ãã¼ã¿ã¹ããªã¼ã ãæãã¦ããã®ããæå®ããå¿ è¦ã¯ããã¾ããã <classname>File_MARC</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ã®ç¬¬äºå¼æ°ã¯ã - ããã©ã«ãã§ <constant>SOURCE_FILE</constant> ã¨ãªãããã§ãã + ããã©ã«ãã§ <constant>File_MARC::SOURCE_FILE</constant> ã¨ãªãããã§ãã </para> <programlisting role="php"><![CDATA[ @@ -69,7 +69,7 @@ MARCXML ãã¼ã¿ãèªã¿è¾¼ãã«ã¯ã<classname>File_MARCXML</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ãã³ã¼ã«ãã¾ãã<varname>$xml_data</varname> ãæååã§ãããã¨ã File_MARCXML ã«æããããã - ã³ã³ã¹ãã©ã¯ã¿ã®ç¬¬äºå¼æ°ã§ <constant>SOURCE_STRING</constant> + ã³ã³ã¹ãã©ã¯ã¿ã®ç¬¬äºå¼æ°ã§ <constant>File_MARC::SOURCE_STRING</constant> ãæå®ãã¾ãã </para> @@ -77,7 +77,7 @@ require 'File/MARCXML.php'; // MARCXML ã¬ã³ã¼ããæååããåå¾ãã¾ã -$journals = new File_MARCXML($xml_data, SOURCE_STRING); +$journals = new File_MARCXML($xml_data, File_MARC::SOURCE_STRING); // åå¾ããã¬ã³ã¼ããé ã«å¦çãã¾ã while ($record = $journals->next()) { @@ -111,7 +111,7 @@ require 'File/MARC.php'; // MARC ã¬ã³ã¼ã群ãåå¾ãã¾ã -$bibrecords = new File_MARC('catdump.mrc', SOURCE_FILE); +$bibrecords = new File_MARC('catdump.mrc', File_MARC::SOURCE_FILE); // åå¾ããã¬ã³ã¼ããé ã«å¦çãã¾ã while ($record = $bibrecords->next()) { @@ -158,7 +158,7 @@ require 'File/MARC.php'; // MARC ã¬ã³ã¼ãã z39 çµææååããåå¾ãã¾ã -$bibrecords = new File_MARC($z39_result, SOURCE_STRING); +$bibrecords = new File_MARC($z39_result, File_MARC::SOURCE_STRING); // åå¾ããã¬ã³ã¼ããé ã«å¦çãã¾ã while ($record = $bibrecords->next()) { @@ -207,7 +207,7 @@ require 'File/MARC.php'; // z39 çµææååãã MARC ã¬ã³ã¼ã群ãåå¾ãã¾ã -$bibrecords = new File_MARC($z39_result, SOURCE_STRING); +$bibrecords = new File_MARC($z39_result, File_MARC::SOURCE_STRING); // åã¬ã³ã¼ããå¦çãã¾ã while ($record = $bibrecords->next()) { http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-marc/formatting.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/fileformats/file-marc/formatting.xml diff -u peardoc/ja/package/fileformats/file-marc/formatting.xml:1.2 peardoc/ja/package/fileformats/file-marc/formatting.xml:1.3 --- peardoc/ja/package/fileformats/file-marc/formatting.xml:1.2 Wed Mar 21 11:37:28 2007 +++ peardoc/ja/package/fileformats/file-marc/formatting.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.fileformats.file-marc.formatting"> <refnamediv> <refname>MARC ãã¼ã¿ã®ãã©ã¼ããã</refname> @@ -88,7 +88,7 @@ require 'File/MARCXML.php'; // MARCXML ã¬ã³ã¼ã群ãæååããåå¾ãã¾ã -$journals = new File_MARCXML($xml_data, SOURCE_STRING); +$journals = new File_MARCXML($xml_data, File_MARC::SOURCE_STRING); // ãã¤ããªæ¸ãè¾¼ã¿ã¢ã¼ãã§ãã¡ã¤ã«ããªã¼ãã³ãã¾ã $marc21_file = fopen("records.mrc", "wb"); http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/intro.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/database/mdb2/intro.xml diff -u peardoc/ja/package/database/mdb2/intro.xml:1.3 peardoc/ja/package/database/mdb2/intro.xml:1.4 --- peardoc/ja/package/database/mdb2/intro.xml:1.3 Sun Jun 24 10:21:50 2007 +++ peardoc/ja/package/database/mdb2/intro.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2.intro"> <refnamediv> <refname>å°å ¥</refname> @@ -211,6 +211,12 @@ å¤é¨ã®ããã¥ã¡ã³ã</ulink> </simpara> </listitem> + <listitem> + <simpara> + <ulink url="http://www.phpied.com/db-2-mdb2/">Porting apps from + <classname>DB</classname> to <classname>MDB2</classname></ulink> + </simpara> + </listitem> </itemizedlist> </refsect1> </refentry>
http://cvs.php.net/viewvc.cgi/peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml diff -u peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml:1.1 peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml:1.2 --- peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml:1.1 Sat Feb 2 06:25:39 2008 +++ peardoc/ja/package/php/php-compatinfo/php-compatinfo/loadversion.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.php.php-compatinfo.php-compatinfo.loadversion"> <refnamediv> <refname><function>PHP_CompatInfo::loadVersion</function></refname> @@ -16,6 +16,7 @@ <funcdef>array <function>PHP_CompatInfo::loadVersion</function></funcdef> <paramdef>string <parameter>$min</parameter></paramdef> <paramdef>string|boolean <parameter> <optional>$max = &false;</optional></parameter></paramdef> + <paramdef>boolean <parameter> <optional>$include_const = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -53,6 +54,17 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term> + <type>boolean</type> + <parameter>$include_const</parameter> + </term> + <listitem> + <para> + (ãªãã·ã§ã³) çµæã«å®æ°ä¸è¦§ãå«ãããã©ããã + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -60,7 +72,12 @@ <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.returns"> &title.returns; <para> - ç¡è¦ãã颿°åã®é åãè¿ãã¾ãã + æå®ãããã¼ã¸ã§ã³ã§ä½¿ç¨ã§ãã PHP ã®é¢æ°ã®é åãè¿ãã¾ãã + </para> + <para> + æå®ãããã¼ã¸ã§ã³ã§ä½¿ç¨ã§ãã PHP ã®é¢æ°ããã³å®æ°ã®é åãè¿ãã¾ãã + ããã¯ãAPI 1.6.0 以éã§ 3 çªç®ã®ãã©ã¡ã¼ã¿ ($include_const) + ãæå®ããå ´åã«å¾ããã¾ãã </para> </refsect1> @@ -82,6 +99,81 @@ &title.note; ¬e.notstatic; </refsect1> + + <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.example"> + &title.example; + <para> + PHP ãã¼ã¸ã§ã³ 4.3.10 ã§ä½ãå¤ãã£ãã®ã? + <programlisting role="php"> + <![CDATA[ +<?php +require_once 'PHP/CompatInfo.php'; + +$pci = new PHP_CompatInfo(); +$res = $pci->loadVersion('4.3.10', '4.3.10', true); +var_export($res); +?> + ]]> + </programlisting> + çµæã¯ã颿°ã 0 ä»¶ã§å®æ°ã 2 ä»¶ã¨ãªãã¾ãã + <screen> +array ( + 'functions' => + array ( + ), + 'constants' => + array ( + 0 => 'PHP_EOL', + 1 => 'UPLOAD_ERR_NO_TMP_DIR', + ), +) + </screen> + </para> + + <para> + PHP ãã¼ã¸ã§ã³ 5.2.1 ã§ä½ãå¤ãã£ãã®ã? + <programlisting role="php"> + <![CDATA[ +<?php +require_once 'PHP/CompatInfo.php'; + +$pci = new PHP_CompatInfo(); +$res = $pci->loadVersion('5.2.1'); +var_export($res); +?> + ]]> + </programlisting> + çµæã¯ã颿°ã 24 ä»¶ã¨ãªãã¾ãã + <screen> +array ( + 0 => 'cachingiterator::count', + 1 => 'directoryiterator::getbasename', + 2 => 'imagegrabscreen', + 3 => 'imagegrabwindow', + 4 => 'ming_setswfcompression', + 5 => 'mysql_set_charset', + 6 => 'openssl_pkcs12_export', + 7 => 'openssl_pkcs12_export_to_file', + 8 => 'openssl_pkcs12_read', + 9 => 'php_ini_loaded_file', + 10 => 'reflectionextension::info', + 11 => 'regexiterator::setpregflags', + 12 => 'splfileinfo::getbasename', + 13 => 'splfileinfo::getlinktarget', + 14 => 'splfileinfo::getrealpath', + 15 => 'splobjectstorage::serialize', + 16 => 'splobjectstorage::unserialize', + 17 => 'stream_is_local', + 18 => 'stream_socket_shutdown', + 19 => 'swfmovie::namedanchor', + 20 => 'swfmovie::protect', + 21 => 'swfmovie::remove', + 22 => 'sys_get_temp_dir', + 23 => 'tidynode::getparent', +) + </screen> + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/php/php-compatinfo/whatsnew.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/php/php-compatinfo/whatsnew.xml diff -u peardoc/ja/package/php/php-compatinfo/whatsnew.xml:1.1 peardoc/ja/package/php/php-compatinfo/whatsnew.xml:1.2 --- peardoc/ja/package/php/php-compatinfo/whatsnew.xml:1.1 Sat Feb 2 06:25:39 2008 +++ peardoc/ja/package/php/php-compatinfo/whatsnew.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="package.php.php-compatinfo.whatsnew"> <refnamediv> <refname>ãã¥ã¼ã¹</refname> @@ -231,6 +231,76 @@ </para> </refsect1> + <refsect1 id="package.php.php-compatinfo.whatsnew.16x"> + <title>ãã¼ã¸ã§ã³ 1.6.x</title> + <para> + <itemizedlist> + <listitem> + <para><emphasis role="bold">PHP5 ã®æ¤åºãæ¹å</emphasis> + ãã¾ãããæ°ãããã¼ã¿ã½ã¼ã¹ã¨ã㦠+ <ulink url="http://cvs.php.net/viewcvs.cgi/phpdoc/phpbook/phpbook-xsl/version.xml">version.xml</ulink> + (revision 1.9) ããã³ + <ulink url="http://cvs.php.net/viewcvs.cgi/phpdoc/funclist.txt">funclist.txt</ulink> + (revision 1.39) ã使ç¨ããããã«ãã¾ããã + </para> + <para> + PHP ã®å®æ°ã®ãã¡ããã¤ãã£ãã«æ¤åºã§ãããã®ãå¢ãã¾ããã + </para> + <para> + <itemizedlist> + <listitem> + <para> + <ulink url="&url.php.manual;ja/reserved.constants.php"> + ã³ã¢ã®å®ç¾©æ¸ã¿å®æ° + </ulink> ( PHP_EOL, DIRECTORY_SEPARATOR, PATH_SEPARATOR, E_STRICT ) + </para> + </listitem> + <listitem> + <para> + <ulink url="&url.php.manual;ja/ref.datetime.php"> + æ¥ä»ã«é¢ããå®ç¾©æ¸ã¿å®æ° + </ulink> ( DATE_* ) + </para> + </listitem> + <listitem> + <para> + <ulink url="&url.php.manual;ja/features.commandline.php"> + CLI åºæã®å®æ° + </ulink> ( STD* ) + </para> + </listitem> + <listitem> + <para> + <ulink url="&url.php.manual;ja/features.commandline.php"> + ãã¡ã¤ã«ã¢ãããã¼ãæã®ã¨ã©ã¼ã«é¢ãã宿° + </ulink> ( UPLOAD_ERR_* ) + </para> + </listitem> + </itemizedlist> + </para> + </listitem> + <listitem> + <para><emphasis role="bold">ã³ãã³ãã©ã¤ã³ã¤ã³ã¿ã¼ãã§ã¤ã¹</emphasis> + ã§ãã·ã³ãã«ãªæåå (ã¹ã¯ãªããã¿ã° <?php ... ?> + ãå«ã¾ãªãã³ã¼ã) ã®ãã¼ã¸ã§ã³ãæ¤åºã§ããããã«ãªãã¾ããã + æ°ãããã©ã¡ã¼ã¿ -s ããã㯠--string ã使ç¨ãã¾ãã + </para> + </listitem> + <listitem> + <para><emphasis role="bold">loadVersion()</emphasis> + ãã颿°ãããã¯é¢æ°+宿°ã®ä¸è¦§ãè¿ããããã«ãªãã¾ããã + </para> + </listitem> + <listitem> + <para><emphasis role="bold">PHP ã®ã¡ã½ãããã§ã¤ã³</emphasis> ã + "Davey Shafik" ãå®è£ ãã¾ããããªã¯ã¨ã¹ã + <ulink url="&url.pear.bugs;13094">#13094</ulink> ãåç §ãã ããã + </para> + </listitem> + </itemizedlist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/peardoc/ja/package/php/php-compatinfo/cli.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/ja/package/php/php-compatinfo/cli.xml diff -u peardoc/ja/package/php/php-compatinfo/cli.xml:1.1 peardoc/ja/package/php/php-compatinfo/cli.xml:1.2 --- peardoc/ja/package/php/php-compatinfo/cli.xml:1.1 Sat Feb 2 06:25:39 2008 +++ peardoc/ja/package/php/php-compatinfo/cli.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.php.php-compatinfo.cli"> <refnamediv> <refname>CLI</refname> @@ -21,8 +21,9 @@ <synopsis> pci [options] -f FILE | -d DIR </synopsis> - pci ãå®è¡ããéã«ã¯ãå°ãªãã¨ã <parameter>-f</parameter> (--file) ã - <parameter>-d</parameter> (--dir) ã®ã©ã¡ããã®ã¹ã¤ãããæå®ãã¾ãã + pci ãå®è¡ããéã«ã¯ãå°ãªãã¨ã <parameter>-s</parameter> (--string)ã + <parameter>-f</parameter> (--file) ããã㯠+ <parameter>-d</parameter> (--dir) ã®ããããã®ã¹ã¤ãããæå®ãã¾ãã ããã¦ãå¿ è¦ã«å¿ãã¦è¿½å ã®ãªãã·ã§ã³ãæå®ãããã¨ã«ãªãã§ãããã </para> </refsect2> @@ -53,6 +54,17 @@ </varlistentry> <varlistentry> <term> + <parameter>-s</parameter> | <parameter>--string</parameter> + </term> + <listitem> + <para> + ã·ã³ãã«ãª php ã³ã¼ãæåå (ã¹ã¯ãªããã¿ã° <?php ... ?> ãé¤ãããã®) + ãæå®ãã¾ãã + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> <parameter>-n</parameter> | <parameter>--no-recurse</parameter> </term> <listitem> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-marc/reading.xml?r1=1.4&r2=1.5&diff_format=u Index: peardoc/ja/package/fileformats/file-marc/reading.xml diff -u peardoc/ja/package/fileformats/file-marc/reading.xml:1.4 peardoc/ja/package/fileformats/file-marc/reading.xml:1.5 --- peardoc/ja/package/fileformats/file-marc/reading.xml:1.4 Tue Aug 28 22:19:36 2007 +++ peardoc/ja/package/fileformats/file-marc/reading.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <refentry id="package.fileformats.file-marc.reading"> <refnamediv> <refname>MARC ãã¼ã¿ã®èªã¿è¾¼ã¿</refname> @@ -24,8 +24,8 @@ <refsect1 id="package.fileformats.file-marc.reading.source"> <title>ãã¾ãã¾ãªã½ã¼ã¹ããã® MARC ãã¼ã¿ã®èªã¿è¾¼ã¿</title> <para> - å ¥åå ã¯ãPHP ã®ã¹ããªã¼ã (<constant>SOURCE_FILE</constant>) ãããã¯æåå - (<constant>SOURCE_STRING</constant>) ã¨ãªãã¾ãã + å ¥åå ã¯ãPHP ã®ã¹ããªã¼ã (<constant>File_MARC::SOURCE_FILE</constant>) ãããã¯æåå + (<constant>File_MARC::SOURCE_STRING</constant>) ã¨ãªãã¾ãã <classname>File_MARC</classname> ããã³ <classname>File_MARCXML</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ã§ãæåã®å¼æ°ã¨ãã¦ã½ã¼ã¹ã®ä½ç½®ãã äºçªç®ã®å¼æ°ã¨ãã¦ã½ã¼ã¹ã®å½¢å¼ãæå®ãã¾ãã @@ -41,7 +41,7 @@ <filename>journals.mrc</filename> ããã¡ã¤ã«åãªã®ã MARC ãã¼ã¿ã¹ããªã¼ã ãæãã¦ããã®ããæå®ããå¿ è¦ã¯ããã¾ããã <classname>File_MARC</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ã®ç¬¬äºå¼æ°ã¯ã - ããã©ã«ãã§ <constant>SOURCE_FILE</constant> ã¨ãªãããã§ãã + ããã©ã«ãã§ <constant>File_MARC::SOURCE_FILE</constant> ã¨ãªãããã§ãã </para> <programlisting role="php"><![CDATA[ @@ -69,7 +69,7 @@ MARCXML ãã¼ã¿ãèªã¿è¾¼ãã«ã¯ã<classname>File_MARCXML</classname> ã®ã³ã³ã¹ãã©ã¯ã¿ãã³ã¼ã«ãã¾ãã<varname>$xml_data</varname> ãæååã§ãããã¨ã File_MARCXML ã«æããããã - ã³ã³ã¹ãã©ã¯ã¿ã®ç¬¬äºå¼æ°ã§ <constant>SOURCE_STRING</constant> + ã³ã³ã¹ãã©ã¯ã¿ã®ç¬¬äºå¼æ°ã§ <constant>File_MARC::SOURCE_STRING</constant> ãæå®ãã¾ãã </para> @@ -77,7 +77,7 @@ require 'File/MARCXML.php'; // MARCXML ã¬ã³ã¼ããæååããåå¾ãã¾ã -$journals = new File_MARCXML($xml_data, SOURCE_STRING); +$journals = new File_MARCXML($xml_data, File_MARC::SOURCE_STRING); // åå¾ããã¬ã³ã¼ããé ã«å¦çãã¾ã while ($record = $journals->next()) { @@ -111,7 +111,7 @@ require 'File/MARC.php'; // MARC ã¬ã³ã¼ã群ãåå¾ãã¾ã -$bibrecords = new File_MARC('catdump.mrc', SOURCE_FILE); +$bibrecords = new File_MARC('catdump.mrc', File_MARC::SOURCE_FILE); // åå¾ããã¬ã³ã¼ããé ã«å¦çãã¾ã while ($record = $bibrecords->next()) { @@ -158,7 +158,7 @@ require 'File/MARC.php'; // MARC ã¬ã³ã¼ãã z39 çµææååããåå¾ãã¾ã -$bibrecords = new File_MARC($z39_result, SOURCE_STRING); +$bibrecords = new File_MARC($z39_result, File_MARC::SOURCE_STRING); // åå¾ããã¬ã³ã¼ããé ã«å¦çãã¾ã while ($record = $bibrecords->next()) { @@ -207,7 +207,7 @@ require 'File/MARC.php'; // z39 çµææååãã MARC ã¬ã³ã¼ã群ãåå¾ãã¾ã -$bibrecords = new File_MARC($z39_result, SOURCE_STRING); +$bibrecords = new File_MARC($z39_result, File_MARC::SOURCE_STRING); // åã¬ã³ã¼ããå¦çãã¾ã while ($record = $bibrecords->next()) { http://cvs.php.net/viewvc.cgi/peardoc/ja/package/fileformats/file-marc/formatting.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/ja/package/fileformats/file-marc/formatting.xml diff -u peardoc/ja/package/fileformats/file-marc/formatting.xml:1.2 peardoc/ja/package/fileformats/file-marc/formatting.xml:1.3 --- peardoc/ja/package/fileformats/file-marc/formatting.xml:1.2 Wed Mar 21 11:37:28 2007 +++ peardoc/ja/package/fileformats/file-marc/formatting.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.fileformats.file-marc.formatting"> <refnamediv> <refname>MARC ãã¼ã¿ã®ãã©ã¼ããã</refname> @@ -88,7 +88,7 @@ require 'File/MARCXML.php'; // MARCXML ã¬ã³ã¼ã群ãæååããåå¾ãã¾ã -$journals = new File_MARCXML($xml_data, SOURCE_STRING); +$journals = new File_MARCXML($xml_data, File_MARC::SOURCE_STRING); // ãã¤ããªæ¸ãè¾¼ã¿ã¢ã¼ãã§ãã¡ã¤ã«ããªã¼ãã³ãã¾ã $marc21_file = fopen("records.mrc", "wb"); http://cvs.php.net/viewvc.cgi/peardoc/ja/package/database/mdb2/intro.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/ja/package/database/mdb2/intro.xml diff -u peardoc/ja/package/database/mdb2/intro.xml:1.3 peardoc/ja/package/database/mdb2/intro.xml:1.4 --- peardoc/ja/package/database/mdb2/intro.xml:1.3 Sun Jun 24 10:21:50 2007 +++ peardoc/ja/package/database/mdb2/intro.xml Thu Feb 14 03:52:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: takagi Status: ready --> <refentry id="package.database.mdb2.intro"> <refnamediv> <refname>å°å ¥</refname> @@ -211,6 +211,12 @@ å¤é¨ã®ããã¥ã¡ã³ã</ulink> </simpara> </listitem> + <listitem> + <simpara> + <ulink url="http://www.phpied.com/db-2-mdb2/">Porting apps from + <classname>DB</classname> to <classname>MDB2</classname></ulink> + </simpara> + </listitem> </itemizedlist> </refsect1> </refentry>