by default, it should have a 500 status code. But the status code header has to be the first one sent, so maybe PHP was not able to change the status code anymore