Related resources for exception in php