https://php101.net/how-to/3-ways-to-get-php-memory-limit-value/
Anonymous
When you must fail, fail noisily and as soon as possible.