output php error to console