<?php
class DiagnosticsCenter{
public function report(){
return [
'status'=>'OK',
'framework'=>'2.5',
'php'=>PHP_VERSION,
'memory'=>memory_get_usage(true),
'peak'=>memory_get_peak_usage(true),
'timestamp'=>date('c')
];
}
}
