Php Function Display Startup Errors In Currently Selected