Contribution: class related phpt tests.

From: Date: Tue, 29 Jan 2008 17:06:16 +0000
Subject: Contribution: class related phpt tests.
Groups: php.qa 
Request: Send a blank email to php-qa+get-61935@lists.php.net to get a copy of this message
Hi all, I have a number of PHPT tests to contribute for class related features. They focus mainly on property overloading rules, __autoload and class constants, though some other areas are touched too. They have been tested on Windows and Linux on the most recent PHP5.2, PHP5.3 and PHP6 snaps. Grab them here: http://soal.org/php/phpt/ Notes: - autoload_012.phpt passes on 5.2 and 5.3, but fails on 6 because __autoload is invoked with the wrong class name. I believe this is a real bug in php6 and will raise it shortly on bugs.php.net. - The set of tests named property_override_*.phpt highlights an inconsistency in PHP's static property inheritance rules. This is currently being discussed on the internals list: http://news.php.net/php.internals/34968 I would like to contribute more tests in the future and will soon apply for a CVS account for that purpose. Regards, Robin Fernandes Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

« previous php.qa (#61935) next »