Files
archived-web-bugs/include/php_versions.php
T
2010-12-10 00:04:16 +00:00

23 lines
474 B
PHP

<?php
$date = date('Y-m-d');
$versions = array(
'5.3.4',
"5.3SVN-{$date} (snap)",
"5.3SVN-{$date} (SVN)",
'5.2.15',
"5.2SVN-{$date} (snap)",
"5.2SVN-{$date} (SVN)",
"trunk-SVN-{$date} (snap)",
"trunk-SVN-{$date} (SVN)",
);
/*
This needs a bit tuning to get latest releases of each active branch.
$foo = unserialize(file_get_contents('http://www.php.net/releases/index.php?serialize=1&max=-1'));
foreach ($foo as $f)
echo $f['version'], "\n";
*/