KUK
Server: Apache
System: Linux 247.44.167.72.host.secureserver.net 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
User: root (0)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/fm-agent/extras/opcache.php
<?php
class OpCacheDataModel
{
        public function getStatusDataRows(){
        $stats = opcache_get_status();
        foreach ($stats as $key=>$val) {
                if (is_array($val)) {
                        foreach ($val as $k=>$v) {
                        echo $k;
                        echo ':';
                        echo $v;
                        echo ';';
                        }
                }
        }}
}
$dataModel = new OpCacheDataModel();

echo $dataModel->getStatusDataRows();
?>