cvs: php4 /tests/lang 032.phpt

From: Date: Fri, 29 Mar 2002 02:03:28 +0000
Subject: cvs: php4 /tests/lang 032.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10757@lists.php.net to get a copy of this message
yohgaki Thu Mar 28 21:03:28 2002 EDT Added files: /php4/tests/lang 032.phpt Log: Added class method registration test. It does not test for multiple method definitions due to test script limitation. # Current CVS source w/o my patch should fail, though. Index: php4/tests/lang/032.phpt +++ php4/tests/lang/032.phpt --TEST-- Class method registration --POST-- --GET-- --FILE-- <?php class A { function foo() {} } class B extends A { function foo() {} } class C extends B { function foo() {} } class D extends A { } class F extends D { function foo() {} } // Following class definition should fail, but cannot test /* class X { function foo() {} function foo() {} } */ echo "OK\n"; ?> --EXPECT-- OK

« previous php.cvs (#10757) next »