<?php
class HealthMonitor{
public function report(){
return [
'status'=>'OK',
'php'=>PHP_VERSION,
'memory_usage'=>memory_get_usage(true),
'memory_peak'=>memory_get_peak_usage(true),
'timestamp'=>date('c')
];
}}
