File Get Contents Loads 2GB Crashing 47 Web Servers?!

MEMORY EXPLOSION! file_get_contents() loads ENTIRE 2GB file into RAM! 47 web servers CRASHED! Tax deadline missed! 12K users disconnected! $12M class action lawsuit! Lead developer FIRED!

#php #phpdisaster #filegetcontents #memoryexhaustion #servercrash #taxdeadline #productionbug #phpshorts #phpwtf #outofmemory #careerending #cascadefailure

https://www.youtube.com/watch?v=7mhJQ1u608A

File Get Contents Loads 2GB Crashing 47 Web Servers?! #outofmemory

YouTube