Skip to content

Commit

Permalink
PHP 8.4: Raising 0 to a negative exponent is deprecated の翻訳
Browse files Browse the repository at this point in the history
  • Loading branch information
siwa32 committed Dec 16, 2024
1 parent a48582c commit 05e1df7
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion reference/math/functions/pow.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: 2b7eebaaf61adf4b14a18a046f1a6c2b61cc8e72 Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 0787a61e3614306bb3c0e5241396241e2d3ae4a7 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi -->
<refentry xml:id="function.pow" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -58,6 +58,30 @@
PHP の拡張モジュールは、この演算の振る舞いを上書きし、オブジェクトを返させても構いません。
</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>
基数が <literal>0</literal> の場合に、
<parameter>exponent</parameter> を負数とするのは非推奨となりました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

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

0 comments on commit 05e1df7

Please sign in to comment.