svn: /phpdoc/en/trunk/ language-snippets.ent reference/csprng/functions/random-bytes.xml reference/csprng/functions/random-int.xml
| From: | Adam Harvey | Date: | Thu, 18 Feb 2016 11:29:14 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/csprng/functions/random-bytes.xml reference/csprng/functions/random-int.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14029@lists.php.net to get a copy of this message | ||
aharvey Thu, 18 Feb 2016 11:29:14 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338615
Log:
Mention the backport for random_*().
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/csprng/functions/random-bytes.xml
U phpdoc/en/trunk/reference/csprng/functions/random-int.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2016-02-17 06:55:58 UTC (rev 338614)
+++ phpdoc/en/trunk/language-snippets.ent 2016-02-18 11:29:14 UTC (rev 338615)
@@ -2173,6 +2173,15 @@
</simpara>
</listitem>
'>
+<!ENTITY csprng.function.backport '
+ <note xmlns="http://docbook.org/ns/docbook">
+ <simpara>
+ Although this function was added to PHP in PHP 7.0, a
+ <link xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="&url.csprng.compat;">userland implementation</link>
+ is available for PHP 5.2 to 5.6, inclusive.
+ </simpara>
+ </note>
+'>
<!-- Migration Guide snippets -->
Modified: phpdoc/en/trunk/reference/csprng/functions/random-bytes.xml
===================================================================
--- phpdoc/en/trunk/reference/csprng/functions/random-bytes.xml 2016-02-17 06:55:58 UTC (rev 338614)
+++ phpdoc/en/trunk/reference/csprng/functions/random-bytes.xml 2016-02-18 11:29:14 UTC (rev 338615)
@@ -19,6 +19,7 @@
initialization vectors.
</para>
&csprng.sources;
+ &csprng.function.backport;
</refsect1><!-- }}} -->
<refsect1 role="parameters"><!-- {{{ -->
Modified: phpdoc/en/trunk/reference/csprng/functions/random-int.xml
===================================================================
--- phpdoc/en/trunk/reference/csprng/functions/random-int.xml 2016-02-17 06:55:58 UTC (rev 338614)
+++ phpdoc/en/trunk/reference/csprng/functions/random-int.xml 2016-02-18 11:29:14 UTC (rev 338615)
@@ -20,6 +20,7 @@
poker game.
</para>
&csprng.sources;
+ &csprng.function.backport;
</refsect1><!-- }}} -->
<refsect1 role="parameters"><!-- {{{ -->