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

rrd_fetch

(PECL rrd >= 0.9.0)

rrd_fetch — Fetch the data for graph as array

Description

function rrd_fetch(string $filename, array $options): array

Gets data for graph output from RRD database file as array. This function has same result as rrd_graph(), but fetched data are returned as array, no image file is created.

Parameters

filename

RRD database file name.

options

Array of options for resolution specification.

Return Values

Returns information about retrieved graph data.


<rrd_errorrrd_first>
^RRD FunctionsLast updated: Mon, 26 Oct 2026