White screen of death is due to the enormous stupidity of the PHP engine. I've never encountered a WSoD in other languages that I program with, C#, Java etc. Heck I've fixed numerous WSoD by copying deleting and pasting back a pluginfolder. So just because you get WSoD doesn't mean there is even anything wrong with the code.