|
10 | 10 | // support lifetime, add it under a heading with an anchor, and add the anchor
|
11 | 11 | // and branch names to the array below ('x.y' => '#anchor-name').
|
12 | 12 | $VERSION_NOTES = [
|
| 13 | + '8.4' => 'https://www.php.net/manual/en/migration84.php', |
| 14 | + '8.3' => 'https://www.php.net/manual/en/migration83.php', |
| 15 | + '8.2' => 'https://www.php.net/manual/en/migration82.php', |
| 16 | + '8.1' => 'https://www.php.net/manual/en/migration81.php', |
13 | 17 | ];
|
14 | 18 | ?>
|
15 | 19 |
|
|
43 | 47 | <th colspan="2">Initial Release</th>
|
44 | 48 | <th colspan="2">Active Support Until</th>
|
45 | 49 | <th colspan="2">Security Support Until</th>
|
| 50 | + <th colspan="2">Notes</th> |
46 | 51 | </tr>
|
47 | 52 | </thead>
|
48 | 53 | <tbody>
|
|
59 | 64 | <tr class="<?php echo $state ?>">
|
60 | 65 | <td>
|
61 | 66 | <a href="/downloads.php#v<?php echo htmlspecialchars($release['version']) ?>"><?php echo htmlspecialchars($branch) ?></a>
|
62 |
| - <?php if (isset($VERSION_NOTES[$branch])): ?> |
63 |
| - <a class="version-notes" href="<?php echo htmlspecialchars($VERSION_NOTES[$branch]) ?>">*</a> |
64 |
| - <?php endif ?> |
65 | 67 | </td>
|
66 | 68 | <td><?php echo htmlspecialchars($initial->format('j M Y')) ?></td>
|
67 | 69 | <td class="collapse-phone"><em><?php echo htmlspecialchars(format_interval($initial, $now)) ?></em></td>
|
68 | 70 | <td><?php echo htmlspecialchars($until->format('j M Y')) ?></td>
|
69 | 71 | <td class="collapse-phone"><em><?php echo htmlspecialchars(format_interval($until, $now)) ?></em></td>
|
70 | 72 | <td><?php echo htmlspecialchars($eol->format('j M Y')) ?></td>
|
71 | 73 | <td class="collapse-phone"><em><?php echo htmlspecialchars(format_interval($eol, $now)) ?></em></td>
|
72 |
| - </tr> |
| 74 | + <td> |
| 75 | + <?php if (isset($VERSION_NOTES[$branch])): ?> |
| 76 | + <a href="<?php echo htmlspecialchars($VERSION_NOTES[$branch]) ?>"> |
| 77 | + Migration guide for PHP <?php echo htmlspecialchars($branch) ?> |
| 78 | + </a> |
| 79 | + <?php else: ?> |
| 80 | + — |
| 81 | + <?php endif ?> |
| 82 | + </td> |
| 83 | + </tr> |
73 | 84 | <?php endforeach ?>
|
74 | 85 | <?php endforeach ?>
|
75 | 86 | </tbody>
|
|
0 commit comments