#32824 [Opn->Bgs]: require_once() don't throw an error msg when file will be included twice
| From: | tony2001@php.net | Date: | Mon, 25 Apr 2005 12:09:42 +0000 |
| Subject: | #32824 [Opn->Bgs]: require_once() don't throw an error msg when file will be included twice | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78164@lists.php.net to get a copy of this message | ||
ID: 32824
Updated by: tony2001@php.net
Reported By: thomas at ecommerce dot com
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Linux SuSE 9.2
PHP Version: 4.3.11
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
That's exactly how it works.
Previous Comments:
------------------------------------------------------------------------
[2005-04-25 14:02:17] thomas at ecommerce dot com
Description:
------------
When an file will be included twice, there wouldn't be thrown
an error message about that. I have set E_ALL in my php.ini.
Reproduce code:
---------------
<?php
require_once 'test.php';
require_once 'test.php';
echo "asdf";
Expected result:
----------------
An error should be thrown that the file was required two times....
Actual result:
--------------
script just continue running...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32824&edit=1