<?php number_format( float $num, int $decimals = 0, ?string $decimal_separator = ".", ?string $thousands_separator = ","): string
<?php Loop::addPeriodicTimer(5, function () { $memory = memory_get_usage() / 1024; $formatted = number_format($memory, 3).'K'; echo "Current memory usage: {$formatted}\n"; });