From 5f117dfcb53a860f7aa8cf5d5ebe787ea294fed4 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 29 Mar 2007 17:49:01 +0000 Subject: [PATCH] - updates on "exits with" git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232944 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/http/configuration.xml | 8 +++++--- reference/http/functions/caching/http-cache-etag.xml | 5 +++-- .../functions/caching/http-cache-last-modified.xml | 5 +++-- reference/http/functions/responses/http-redirect.xml | 5 +++-- reference/http/reference.xml | 12 +++++++++++- 5 files changed, 25 insertions(+), 10 deletions(-) diff --git a/reference/http/configuration.xml b/reference/http/configuration.xml index 3a4fbea8cc..dac0f6cfb7 100644 --- a/reference/http/configuration.xml +++ b/reference/http/configuration.xml @@ -1,5 +1,5 @@ - + Configuration @@ -87,6 +87,7 @@ Allowed request methods. If a client issues a request with a request method other than listed here, PHP exits with a status of "405 Method not allowed". + &see.http.configuration.force_exit; @@ -198,8 +199,9 @@ "1" PHP_INI_ALL - Whether to automatically send "404 Not found", if http_send_file() - was not able to find the specified file. + Whether to automatically exit with a status of "404 Not found", + if http_send_file() was not able to find the specified file. + &see.http.configuration.force_exit; diff --git a/reference/http/functions/caching/http-cache-etag.xml b/reference/http/functions/caching/http-cache-etag.xml index 390eec994b..8809df1e1d 100644 --- a/reference/http/functions/caching/http-cache-etag.xml +++ b/reference/http/functions/caching/http-cache-etag.xml @@ -1,5 +1,5 @@ - + @@ -47,7 +47,8 @@ &reftitle.returnvalues; - Returns FALSE on failure, or exits with 304 Not Modified if the entity is cached. + &returns.http.false.orexits; with 304 Not Modified if the entity is cached. + &see.http.configuration.force_exit; diff --git a/reference/http/functions/caching/http-cache-last-modified.xml b/reference/http/functions/caching/http-cache-last-modified.xml index 1c79962c3d..9c4ae5e0f9 100644 --- a/reference/http/functions/caching/http-cache-last-modified.xml +++ b/reference/http/functions/caching/http-cache-last-modified.xml @@ -1,5 +1,5 @@ - + @@ -48,7 +48,8 @@ &reftitle.returnvalues; - Returns FALSE on failure, or exits with 304 Not Modified if the entity is cached. + &returns.http.false.orexits; with 304 Not Modified if the entity is cached. + &see.http.configuration.force_exit; diff --git a/reference/http/functions/responses/http-redirect.xml b/reference/http/functions/responses/http-redirect.xml index 596b037b39..b20f652299 100644 --- a/reference/http/functions/responses/http-redirect.xml +++ b/reference/http/functions/responses/http-redirect.xml @@ -1,5 +1,5 @@ - + @@ -90,7 +90,8 @@ &reftitle.returnvalues; - Returns &false; on failure, or exits on success. + &returns.http.false.orexits; with the specified redirection status code. + &see.http.configuration.force_exit; diff --git a/reference/http/reference.xml b/reference/http/reference.xml index 2288f03ce7..591cb01706 100644 --- a/reference/http/reference.xml +++ b/reference/http/reference.xml @@ -1,5 +1,5 @@ - + @@ -39,6 +39,16 @@
Classes + &extension.classes; + + The HttpResponse class requires at least PHP v5.1. + Any other class is available as of PHP v5.0. + + + + Be aware though, that some methods are not available with PHP 5.0. + + HttpMessage HttpQueryString