Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stats_rand_gen_fstats_rand_gen_gamma>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_rand_gen_funiform

(PECL stats >= 1.0.0)

stats_rand_gen_funiform — Generates uniform float between low (exclusive) and high (exclusive)

Description

function stats_rand_gen_funiform(float $low, float $high): float

Returns a random deviate from the uniform distribution from low to high.

Parameters

low

The lower bound (exclusive)

high

The upper bound (exclusive)

Return Values

A random deviate


<stats_rand_gen_fstats_rand_gen_gamma>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026