mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-09 15:28:40 +00:00
68167176dc
- Officially support 4.3.7 and up - Modify PH5P to remove incompatible parameter type def - Add more versions to multitest git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1441 48356398-32a2-884e-a903-53898d9a118a
39 lines
714 B
PHP
39 lines
714 B
PHP
<?php
|
|
|
|
$versions_to_test = array(
|
|
'FLUSH',
|
|
'4.3.7',
|
|
'4.3.8',
|
|
'4.3.9',
|
|
'FLUSH', // serialize's behavior changed to be non-backwards-compat
|
|
'4.3.10',
|
|
'4.3.11',
|
|
'4.4.6',
|
|
'4.4.7',
|
|
'5.0.4',
|
|
'5.0.5',
|
|
'5.1.4',
|
|
'5.1.6',
|
|
'5.2.0',
|
|
'5.2.1',
|
|
'5.2.2',
|
|
'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) {
|
|
if ($version === 'FLUSH') {
|
|
shell_exec('php ../maintenance/flush-definition-cache.php');
|
|
continue;
|
|
}
|
|
passthru("phpv $version index.php");
|
|
echo "\n\n";
|
|
}
|