ID: 32273
Updated by: [EMAIL PROTECTED]
Reported By: zedar at zedar dot org
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Linux 2.4.26
PHP Version: 5CVS-2005-03-11 (dev)
New Comment:
I can't reproduce it. Please provide more info about it.
A *short* but complete reproduce script + gdb backtrace would help
much.
Previous Comments:
------------------------------------------------------------------------
[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