--TEST-- Test http_response_code basic functionality --CREDITS-- Gabriel Caruso (carusogabriel@php.net) --SKIPIF-- --FILE-- --EXPECTF-- bool(false) bool(true) int(201) Now we've sent the headers Warning: http_response_code(): Cannot set response code - headers already sent (output started at %s:%d) in %s on line %d bool(false)