``http_response_code`` is only available in PHP 5.4+: http://fr2.php.net/http_response_code

you should send the status code through the headers instead, as done in HttpFoundation: https://github.com/symfony/HttpFoundation/blob/d17938f07e168c4e5bb35c209d3c289ccff15d80/Response.php#L334