mirror of
https://github.com/php/web-bugs.git
synced 2026-03-26 00:32:12 +01:00
23 lines
464 B
PHP
23 lines
464 B
PHP
<?php
|
|
$date = date('Y-m-d');
|
|
$versions = array(
|
|
'5.3.2',
|
|
"5.3SVN-{$date} (snap)",
|
|
"5.3SVN-{$date} (SVN)",
|
|
'5.2.13',
|
|
"5.2SVN-{$date} (snap)",
|
|
"5.2SVN-{$date} (SVN)",
|
|
"6SVN-{$date} (snap)",
|
|
"6SVN-{$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";
|
|
|
|
*/
|