mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 14:58:42 +00:00
bb08f679f0
- Work around unnecessary DOMElement type-cast in PH5P that caused errors in PHP 5.1 - Work around PHP 4 SimpleTest lack-of-error complaining for one-time-only HTMLDefinition errors, this may indicate problems with error-collecting facilities in PHP 5 - Make ErrorCollectorEMock work in both PHP 4 and PHP 5 . tests/multitest.php allows you to test multiple versions by running tests/index.php through multiple interpreters using `phpv` shell script (you must provide this script!) . Minor cosmetic change to flush-definition-cache.php: trailing newline is outputted . Maintenance script for generating PH5P patch added, original PH5P source file also added under version control . Full unit test runner script title made more descriptive with PHP version git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1440 48356398-32a2-884e-a903-53898d9a118a
24 lines
387 B
PHP
24 lines
387 B
PHP
<?php
|
|
|
|
$versions_to_test = array(
|
|
'4.3.10',
|
|
'4.3.11',
|
|
'4.4.6',
|
|
'4.4.7',
|
|
'5.1.6',
|
|
'5.2.3',
|
|
'5.2.4',
|
|
'5.2.5RC2-dev',
|
|
'5.3.0-dev',
|
|
// '6.0.0-dev',
|
|
);
|
|
|
|
echo str_repeat('-', 70) . "\n";
|
|
echo "HTML Purifier\n";
|
|
echo "Multiple PHP Versions Test\n\n";
|
|
|
|
foreach ($versions_to_test as $version) {
|
|
passthru("phpv $version index.php");
|
|
echo "\n\n";
|
|
}
|