The script does now report the peak memory usage of PHP

However there seems to be a problem because it will always report values
> 100 even if nothing runs :/
Fixed bug in memory usage calculation