diff options
| author | Xinchen Hui <laruence@php.net> | 2012-10-10 17:24:40 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2012-10-10 17:24:40 +0800 |
| commit | 7a7b2a06420138d0e0f18a898cb36d007196a922 (patch) | |
| tree | 78a0bb5c2fb1da74a766cd5d7329034298582de3 /sapi/cli/tests/php_cli_server_013.phpt | |
| parent | e70aed5c743f0f86de906af2199dd0e07d007956 (diff) | |
| parent | 07ea38b443bad0fc569047a288c6b1c081c7157f (diff) | |
| download | php-git-7a7b2a06420138d0e0f18a898cb36d007196a922.tar.gz | |
Merge branch 'PHP-5.4'
Diffstat (limited to 'sapi/cli/tests/php_cli_server_013.phpt')
| -rw-r--r-- | sapi/cli/tests/php_cli_server_013.phpt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sapi/cli/tests/php_cli_server_013.phpt b/sapi/cli/tests/php_cli_server_013.phpt index 18b7375b3f..570798a880 100644 --- a/sapi/cli/tests/php_cli_server_013.phpt +++ b/sapi/cli/tests/php_cli_server_013.phpt @@ -33,7 +33,7 @@ HEADER } } -echo preg_replace("/<style type=\"text\/css\">(.*?)<\/style>/s", "<style type=\"text/css\">AAA</style>", $output), "\n"; +echo preg_replace("/<style>(.*?)<\/style>/s", "<style>AAA</style>", $output), "\n"; fclose($fp); @@ -55,7 +55,7 @@ HEADER } } -echo preg_replace("/<style type=\"text\/css\">(.*?)<\/style>/s", "<style type=\"text/css\">AAA</style>", $output), "\n"; +echo preg_replace("/<style>(.*?)<\/style>/s", "<style>AAA</style>", $output), "\n"; fclose($fp); $output = ''; @@ -76,7 +76,7 @@ HEADER } } -echo preg_replace("/<style type=\"text\/css\">(.*?)<\/style>/s", "<style type=\"text/css\">AAA</style>", $output), "\n"; +echo preg_replace("/<style>(.*?)<\/style>/s", "<style>AAA</style>", $output), "\n"; fclose($fp); ?> --EXPECTF-- @@ -87,22 +87,22 @@ Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: %d -<html><head><title>404 Not Found</title><style type="text/css">AAA</style> -</head><body><h1 class="h">Not Found</h1><p>The requested resource / was not found on this server.</p></body></html> +<!doctype html><html><head><title>404 Not Found</title><style>AAA</style> +</head><body><h1>Not Found</h1><p>The requested resource / was not found on this server.</p></body></html> HTTP/1.1 404 Not Found Host: %s Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: %d -<html><head><title>404 Not Found</title><style type="text/css">AAA</style> -</head><body><h1 class="h">Not Found</h1><p>The requested resource /main/style.css was not found on this server.</p></body></html> +<!doctype html><html><head><title>404 Not Found</title><style>AAA</style> +</head><body><h1>Not Found</h1><p>The requested resource /main/style.css was not found on this server.</p></body></html> HTTP/1.1 404 Not Found Host: %s Connection: close Content-Type: text/html; charset=UTF-8 Content-Length: %d -<html><head><title>404 Not Found</title><style type="text/css">AAA</style> -</head><body><h1 class="h">Not Found</h1><p>The requested resource /main/foo/bar was not found on this server.</p></body></html> +<!doctype html><html><head><title>404 Not Found</title><style>AAA</style> +</head><body><h1>Not Found</h1><p>The requested resource /main/foo/bar was not found on this server.</p></body></html> |
