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
 
<VarnishStat::__constructVarnishLog>
^VarnishStatLast updated: Mon, 26 Oct 2026

VarnishStat::getSnapshot

(PECL varnish >= 0.3)

VarnishStat::getSnapshot — Get the current varnish instance statistics snapshot

Description

public function VarnishStat::getSnapshot(): array

Parameters

This function has no parameters.

Return Values

Array with the varnish statistic snapshot. The array keys are identical to that in the varnishstat tool.


<VarnishStat::__constructVarnishLog>
^VarnishStatLast updated: Mon, 26 Oct 2026