-
Notifications
You must be signed in to change notification settings - Fork 625
Expand file tree
/
Copy pathrelease-candidates.php
More file actions
75 lines (65 loc) · 2.35 KB
/
release-candidates.php
File metadata and controls
75 lines (65 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
$_SERVER['BASE_PAGE'] = 'qa.php';
include_once __DIR__ . '/include/prepend.inc';
include_once __DIR__ . '/include/release-qa.php';
$SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
$SIDEBAR_DATA = '
<div class="panel">
Test Releases
<div class="body">
The downloads on this page are not meant to be run in production. They are
for testing only.
</div>
<div class="body">
If you find a problem when running your library or application with these
builds, please file a report on <a
href="https://github.com/php/php-src/issues/">GitHub Issues</a>.
</div>
</div>
';
site_header("Release Candidates", [
'current' => 'downloads',
]);
?>
<h1>Release Candidate Builds</h1>
<p>
This page contains links to the Release Candidate builds that the release
managers create before each actual release. These builds are meant for the
community to test whether no inadvertent changes have been made, and
whether no regressions have been introduced.
</p>
<h3>Available QA Releases:</h3>
<?php if (!empty($QA_RELEASES['releases'])) : ?>
<?php $plural = count($QA_RELEASES['releases']) > 1 ? 's' : ''; ?>
<?php foreach ($QA_RELEASES['releases'] as $pversion => $info) : ?>
<h3 class="title">
PHP <?php echo $info['version']; ?>
</h3>
<div class="content-box">
<ul>
<?php foreach ($info['files'] as $file_type => $file_info) : ?>
<li>
<a href="<?php echo $file_info['path'] ?>"><?php echo "php-{$info['version']}.tar.{$file_type}"; ?></a>
<span class="releasedate"><?php echo date('d M Y', strtotime($info['date'])); ?></span>
<?php foreach ($QA_CHECKSUM_TYPES as $algo): ?>
<span class="<?php echo $algo; ?>">
<?php if (isset($file_info[$algo]) && strlen($file_info[$algo])) : ?>
<?php echo $file_info[$algo]; ?>
<?php else: ?>
<em><small>No checksum value available</small></em>)
<?php endif; ?>
<?php endforeach; ?>
</li>
<?php endforeach; ?>
</ul>
<?php endforeach; ?>
<?php else: ?>
<span class='lihack'>There are no QA releases available at the moment to test.</span>
<?php endif; ?>
<p>
<br/>
<strong>Windows users:</strong>
See <a href="https://windows.php.net/qa/">here</a> for the Windows QA builds.
</p>
<?php
site_footer(['sidebar' => $SIDEBAR_DATA]);