getrusage() on Windows

The function getrusage() returns information about the resource usage. Since PHP 7, this function is also supported on Windows. It returns information about the user time and system time spent by the running script.