How to get the current default HTTP response code in PHP

1 Answer

0 votes
// mixed http_response_code ([ int $response_code ] )

var_dump(http_response_code());


/*
run:

int(200)  

*/

 



answered Jun 28, 2016 by avibootz

Related questions

...