Update on Mai, 28 : Added a new code snippet.
Sometimes, when you are trying to debug PHP code, you'll get an ugly WSOD, without any error messages in PHP error log.
When this happens, it's always really difficult to find out why. The lack of message tells you that you you didn't wrote something that bad, but bad enougth for the framework you are working with to partially catch your error without really crashing.
So, how can you resolve this?