Skip to content
Merged
Show file tree
Hide file tree
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
28 changes: 28 additions & 0 deletions reference/random/functions/lcg-value.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<refname>lcg_value</refname>
<refpurpose>Combined linear congruential generator</refpurpose>
</refnamediv>

<refsynopsisdiv>
&warn.deprecated.function-8-4-0;
</refsynopsisdiv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
Expand Down Expand Up @@ -46,6 +51,29 @@
A pseudo random float value between 0.0 and 1.0, inclusive.
</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>
This function has been deprecated.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
Expand Down
2 changes: 1 addition & 1 deletion reference/random/versions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Do NOT translate this file -->
<versions>
<!-- Functions -->
<function name="lcg_value" from="PHP 4, PHP 5, PHP 7, PHP 8"/>
<function name="lcg_value" from="PHP 4, PHP 5, PHP 7, PHP 8" deprecated="PHP 8.4.0"/>
<function name="mt_srand" from="PHP 4, PHP 5, PHP 7, PHP 8"/>
<function name="srand" from="PHP 4, PHP 5, PHP 7, PHP 8"/>
<function name="rand" from="PHP 4, PHP 5, PHP 7, PHP 8"/>
Expand Down