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_stat_paired_tstats_stat_powersum>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_stat_percentile

(PECL stats >= 1.0.0)

stats_stat_percentile — Returns the percentile value

Description

function stats_stat_percentile(array $arr, float $perc): float

Returns the perc-th percentile value of the array arr.

Parameters

arr

The input array

perc

The percentile

Return Values

Returns the percentile values of the input array.


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