Remove PHP 5 reference (#959)

This commit is contained in:
Sergey Panteleev 2021-09-21 13:36:42 +03:00 committed by GitHub
parent 4d546a0a53
commit 268d48a184
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,7 @@
</para>
<note>
<para>
In PHP 5.6 onwards, you may prefer to use the
<link linkend="language.operators.arithmetic">**</link> operator.
It is possible to use the <link linkend="language.operators.arithmetic">**</link> operator instead.
</para>
</note>
</refsect1>
@ -69,8 +68,7 @@ echo pow(-1, 20); // 1
echo pow(0, 0); // 1
echo pow(10, -1); // 0.1
echo pow(-1, 5.5); // PHP >=5.2.2: NAN
echo pow(-1, 5.5); // PHP <5.2.2: -NAN
echo pow(-1, 5.5); // NAN
?>
]]>
</programlisting>