Doc #52445 [Opn->Csd]: Require function documentation contains wrong error level

From: Date: Mon, 26 Jul 2010 14:48:10 +0000
Subject: Doc #52445 [Opn->Csd]: Require function documentation contains wrong error level
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4744@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52445&edit=1 ID: 52445 Updated by: degeberg@php.net Reported by: r dot bos at pagelink dot nl Summary: Require function documentation contains wrong error level -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: 5.2.14 -Assigned To: +Assigned To: degeberg Block user comment: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-07-26 16:48:00] degeberg@php.net Automatic comment from SVN on behalf of degeberg Revision: http://svn.php.net/viewvc/?view=revision&revision=301574 Log: Fixed PHP bug #52445 (Require function documentation contains wrong error level) ------------------------------------------------------------------------ [2010-07-26 16:37:14] r dot bos at pagelink dot nl Description: ------------ The documentation for the require function contains the wrong error level. "require() is identical to include() except upon failure it will also produce a fatal E_ERROR level error." But it gives an E_COMPILE_ERROR. Test script: --------------- //This will not give a fatal error error_reporting (E_ERROR); require("not.existing.file.php"); //But this code does... error_reporting (E_COMPILE_ERROR); require("not.existing.file.php"); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52445&edit=1

« previous php.doc.bugs (#4744) next »