Bug #15402 Updated: include of parent class
| From: | mfischer@php.net | Date: | Sat, 01 Jun 2002 10:56:02 +0000 |
| Subject: | Bug #15402 Updated: include of parent class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9047@lists.php.net to get a copy of this message | ||
ID: 15402
Updated by: mfischer@php.net
Reported By: av@brainbits.de
-Status: Open
+Status: Closed
Bug Type: Class/Object related
Operating System: SuSE 7.2
PHP Version: 4.1.1
New Comment:
Works here as well, suspecting miss-configured system, closing.
Previous Comments:
------------------------------------------------------------------------
[2002-02-08 02:22:45] derick@php.net
Works for me on both 4.0.6, 4.1.1 and 4.2.0 (on Linux).
------------------------------------------------------------------------
[2002-02-06 20:09:30] yohgaki@php.net
It works ok to me, that's the reason why I made this report bogus.
Since it seems you really have this problem. I reopened :)
Could anyone take care of this report? I would like to spend more time
for
problems in output control....
------------------------------------------------------------------------
[2002-02-06 06:50:38] av@brainbits.de
*g*
u mean ,
it is not a bug ? ;-)
------------------------------------------------------------------------
[2002-02-06 06:48:31] yohgaki@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
------------------------------------------------------------------------
[2002-02-06 06:03:00] av@brainbits.de
Hi ,
i have a problem with follwing code :
1. File "A.php"
<?php
class A {
function A(){
echo "jo";
}
}
?>
2. File "B.php"
<?php
require_once("A.php");
class B extends A {
function B(){
echo "jojo";
}
}
?>
3. File
<?php
require_once("B.php");
$b=new B;
Error is :
Fatal error : cannot redeclare class A:B on line 2 in B.php
include_path is ok , what is a problem ?
best regards
Alexander Vasiliev
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15402&edit=1