2007-11-05 05:01:51 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$versions_to_test = array(
|
2007-11-05 05:25:59 +00:00
|
|
|
'FLUSH',
|
|
|
|
'4.3.7',
|
|
|
|
'4.3.8',
|
|
|
|
'4.3.9',
|
|
|
|
'FLUSH', // serialize's behavior changed to be non-backwards-compat
|
2007-11-05 05:01:51 +00:00
|
|
|
'4.3.10',
|
|
|
|
'4.3.11',
|
|
|
|
'4.4.6',
|
|
|
|
'4.4.7',
|
2007-11-05 05:25:59 +00:00
|
|
|
'5.0.4',
|
|
|
|
'5.0.5',
|
|
|
|
'5.1.4',
|
2007-11-05 05:01:51 +00:00
|
|
|
'5.1.6',
|
2007-11-05 05:25:59 +00:00
|
|
|
'5.2.0',
|
|
|
|
'5.2.1',
|
|
|
|
'5.2.2',
|
2007-11-05 05:01:51 +00:00
|
|
|
'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) {
|
2007-11-05 05:25:59 +00:00
|
|
|
if ($version === 'FLUSH') {
|
|
|
|
shell_exec('php ../maintenance/flush-definition-cache.php');
|
|
|
|
continue;
|
|
|
|
}
|
2007-11-05 05:01:51 +00:00
|
|
|
passthru("phpv $version index.php");
|
|
|
|
echo "\n\n";
|
|
|
|
}
|