[PHP-DEV] Bug #12493: Class bug.. From: dengdeng <email protected>
Date: 07/31/01

From: dengdeng <email protected>
Operating system: Win2k
PHP version: 4.0.6
PHP Bug Type: Class/Object related
Bug description: Class bug..

Exam1 :

class A {

        function b() {
                echo("Hello?");
        }

}

$Ac = new A;

$Ac->b();
///////////////////////////////////////////////////////////
Exam2 :

class A {

        function a() {
                echo("Hello?");
        }

}

$Ac = new A;

$Ac->a();
///////////////////////////////////////////////////////////

Exam1 code is once run b function but Exam2 code is two run a function.
It's bug?? or my miss?? >_<

-- 
Edit bug report at: http://bugs.php.net/?id=12493&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>