Looking at PHP documentation, it says PHP does indeed have try and catch exception handling.  Please put this in the lang.xml file in the next update for everyone to enjoy, thanks.