From 5819e3699a203f43a150ff58c8d1647773dbfd76 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 13 Feb 2003 09:29:34 +0000 Subject: [PATCH] Initial checkin for this elusive function. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@116073 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/main.xml | 82 +++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100755 reference/info/functions/main.xml diff --git a/reference/info/functions/main.xml b/reference/info/functions/main.xml new file mode 100755 index 0000000000..35a287bacc --- /dev/null +++ b/reference/info/functions/main.xml @@ -0,0 +1,82 @@ + + + + + main + Dummy for main + + + Description + + There is no function named main except + in the PHP source. In PHP 4.3.0, a new type of error handling + in the PHP source (php_error_docref) was introduced. One feature + is to provide links to a manual page in PHP error messages when + the PHP directive html_errors + is set to on (it's on by default). + + + Sometimes error messages refer to a manual page for the function + main which is why this page exists. Please + add a user comment below that mentions what PHP function caused the + error that linked to main and it will be + fixed and properly documented. + + + + Known errors that point to <function>main</function> + + + + Function name + When no longer points here + + + + + include + 4.3.1 + + + include_once + 4.3.1 + + + require + 4.3.1 + + + require_once + 4.3.1 + + + +
+
+ + See also html_errors + and display_errors. + +
+
+ +