GoLang opcache_get_status

request it (137)
GoLang replacement for PHP's opcache_get_status [edit | history]



Do you know a GoLang replacement for PHP's opcache_get_status? Write it!

PHP opcache_get_status

PHP original manual for opcache_get_status [ show | php.net ]

opcache_get_status

(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache > 7.0.2)

opcache_get_statusGet status information about the cache

Description

array opcache_get_status ([ bool $get_scripts = TRUE ] )

This function returns state information about the cache instance

Parameters

get_scripts

Include script specific state information

Return Values

Returns an array of information, optionally containing script specific state information

Errors/Exceptions

If opcache.restrict_api is in use and the current path is in violation of the rule, an E_WARNING will be raised; no status information will be returned.

See Also