From 985c4da2ae3a662cb6b4155eae3f97bf57e1c76e Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 30 Sep 2023 20:01:54 +0100 Subject: [PATCH] random: Add stubs generated from php-src stubs --- .../random/randomizer/getbytesfromstring.xml | 131 ++++++++++++++++ .../random/random/randomizer/getfloat.xml | 140 ++++++++++++++++++ .../random/random/randomizer/nextfloat.xml | 110 ++++++++++++++ 3 files changed, 381 insertions(+) create mode 100644 reference/random/random/randomizer/getbytesfromstring.xml create mode 100644 reference/random/random/randomizer/getfloat.xml create mode 100644 reference/random/random/randomizer/nextfloat.xml diff --git a/reference/random/random/randomizer/getbytesfromstring.xml b/reference/random/random/randomizer/getbytesfromstring.xml new file mode 100644 index 000000000000..9d5f97ab4f1f --- /dev/null +++ b/reference/random/random/randomizer/getbytesfromstring.xml @@ -0,0 +1,131 @@ + + + + Random\Randomizer::getBytesFromString + Description + + + + &reftitle.description; + + public stringRandom\Randomizer::getBytesFromString + stringstring + intlength + + &warn.undocumented.func; + + Description + + + + + &reftitle.parameters; + + + + string + + + Description. + + + + + length + + + Description. + + + + + + + + + &reftitle.returnvalues; + + Description + + + + + &reftitle.errors; + + When does this function issue E_* level errors, and/or throw exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>Random\Randomizer::getBytesFromString</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Method name, function, or link to reference + + + + + diff --git a/reference/random/random/randomizer/getfloat.xml b/reference/random/random/randomizer/getfloat.xml new file mode 100644 index 000000000000..7b8b1d4d5ea8 --- /dev/null +++ b/reference/random/random/randomizer/getfloat.xml @@ -0,0 +1,140 @@ + + + + Random\Randomizer::getFloat + Description + + + + &reftitle.description; + + public floatRandom\Randomizer::getFloat + floatmin + floatmax + Random\IntervalBoundaryboundaryRandom\IntervalBoundary::ClosedOpen + + &warn.undocumented.func; + + Description + + + + + &reftitle.parameters; + + + + min + + + Description. + + + + + max + + + Description. + + + + + boundary + + + Description. + + + + + + + + + &reftitle.returnvalues; + + Description + + + + + &reftitle.errors; + + When does this function issue E_* level errors, and/or throw exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>Random\Randomizer::getFloat</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Method name, function, or link to reference + + + + + diff --git a/reference/random/random/randomizer/nextfloat.xml b/reference/random/random/randomizer/nextfloat.xml new file mode 100644 index 000000000000..2dcd558da5a7 --- /dev/null +++ b/reference/random/random/randomizer/nextfloat.xml @@ -0,0 +1,110 @@ + + + + Random\Randomizer::nextFloat + Description + + + + &reftitle.description; + + public floatRandom\Randomizer::nextFloat + + + &warn.undocumented.func; + + Description + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description + + + + + &reftitle.errors; + + When does this function issue E_* level errors, and/or throw exceptions. + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.X.0 + + Description + + + + + + + + + &reftitle.examples; + + <methodname>Random\Randomizer::nextFloat</methodname> example + + Description. + + + +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Method name, function, or link to reference + + + + +