#32273 [Fbk->NoF]: Incorrectly reports function as being redeclared
| From: | sniper@php.net | Date: | Sun, 20 Mar 2005 17:13:05 +0000 |
| Subject: | #32273 [Fbk->NoF]: Incorrectly reports function as being redeclared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75614@lists.php.net to get a copy of this message | ||
ID: 32273
Updated by: sniper@php.net
Reported By: zedar at zedar dot org
-Status: Feedback
+Status: No Feedback
-Bug Type: Unknown/Other Function
+Bug Type: Zend Engine 2 problem
Operating System: Linux 2.4.26
PHP Version: 5CVS-2005-03-11 (dev)
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2005-03-11 10:36:20] tony2001@php.net
I can't reproduce it. Please provide more info about it.
A *short* but complete reproduce script + gdb backtrace would help
much.
------------------------------------------------------------------------
[2005-03-11 04:31:44] zedar at zedar dot org
Description:
------------
PHP complains that the __autoload function is being
redeclared despite the fact that it is only in one file
that is auto-prepended and not otherwise included
anywhere.
Reproduce code:
---------------
Lines 15-17 of the file are as follows: (1-14 are comments)
function __autoload($class_name) {
require_once "class/".$class_name . '.php';
}
Expected result:
----------------
Not much, just that the files are included as required.
Actual result:
--------------
The following shows up in apaches error log:
[Fri Mar 11 13:14:12 2005] [error] PHP Fatal error:
Cannot redeclare __autoload() (previously declared
in /www2/wame.net/system/include/wame/header.php:15)
in /www2/wame.net/system/include/wame/header.php on line
17
[Fri Mar 11 13:14:12 2005] [notice] child pid 11721 exit
signal Segmentation fault (11)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32273&edit=1