ID:               15401
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Class/Object related
 Operating System: SuSE 7.2
 PHP Version:      4.1.1
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2002-02-06 06:02:51] [EMAIL PROTECTED]

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=15401&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to