Simple code snippet to debug php scripts