From 0f553e8585df26a90865c6184e7f77d91834f1bc Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 17 Sep 2002 12:44:11 +0000 Subject: [PATCH] new optional parameters documented git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@95962 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/http/functions/headers-sent.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/reference/http/functions/headers-sent.xml b/reference/http/functions/headers-sent.xml index 97fab7f39c..6f4d49f474 100644 --- a/reference/http/functions/headers-sent.xml +++ b/reference/http/functions/headers-sent.xml @@ -1,5 +1,5 @@ - + @@ -9,8 +9,9 @@ Description - boolheaders_sent - + boolheaders_sent + string&file + int&line This function returns &true; if the HTTP headers have already been @@ -19,6 +20,17 @@ already been sent. Using this function you can at least prevent getting the "Duplicate headers ..." error messages. + + The function will return the php source file and line number where + output started in the optional file and + line parameters if these are given. + + + + file and line where + added for PHP 4.3.0. + + See also header for a more detailed discussion of the matters involved.