--TEST-- apache_response_headers() --SKIPIF-- --FILE-- '; file_put_contents( $test_file, $code ); passthru( "$php -n -q " . escapeshellarg( $test_file ) ); ?> --CLEAN-- --EXPECTF-- array(3) { ["X-Powered-By"]=> string(%d) "PHP/%s" ["X-Robots-Tag"]=> string(26) "noindex,nofollow,noarchive" ["Content-type"]=> string(24) "text/html; charset=UTF-8" }