Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php_uname() now throws ValueError (fixes #3968)の翻訳 #226

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions reference/info/functions/php-uname.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 8f9ebc8686e881bee5cc68828a004b722c62bc3b Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 03db4883c52dfbe6be059d915a159e3a1dd9e7cb Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi -->
<refentry xml:id="function.php-uname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -41,10 +41,17 @@
<parameter>mode</parameter> は、どのような情報を返すのかを一文字で指定します:
<itemizedlist>
<listitem>
<simpara>
<literal>'a'</literal>: デフォルトです。すべてのモードを
<literal>"s n r v m"</literal> の順で返します。
</simpara>
<para>
<literal>'a'</literal>: デフォルトです。
<simplelist type="inline">
<member><literal>'s'</literal></member>
<member><literal>'n'</literal></member>
<member><literal>'r'</literal></member>
<member><literal>'v'</literal></member>
<member><literal>'m'</literal></member>
</simplelist>
の各モードと同じ情報をスペースで区切って返します。
</para>
</listitem>
<listitem>
<simpara>
Expand Down Expand Up @@ -90,6 +97,29 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
無効な <parameter>mode</parameter> を指定した場合に、
<classname>ValueError</classname> をスローするようになりました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down