Commit: add7f28260e6f3515170155120ccb956fc41e8d6 Author: Adam Harvey <ahar...@php.net> Wed, 13 Jan 2016 12:07:22 -0800 Parents: 75b9b2254d707d2f6fdaf99b0aaf6e7be9b53324 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=add7f28260e6f3515170155120ccb956fc41e8d6 Log: Add a quick note about why 5.6 support is now longer. Changed paths: M styles/supported-versions.css M supported-versions.php Diff: diff --git a/styles/supported-versions.css b/styles/supported-versions.css index d30285c..f152bcc 100644 --- a/styles/supported-versions.css +++ b/styles/supported-versions.css @@ -31,3 +31,7 @@ svg { max-width: 100%; height: auto; } + +.version-notes { + border: 0; +} diff --git a/supported-versions.php b/supported-versions.php index 908838d..d7c5c4c 100644 --- a/supported-versions.php +++ b/supported-versions.php @@ -5,6 +5,13 @@ include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/branches.inc'; site_header('Supported Versions', array('css' => array('supported-versions.css'))); + +// Version notes: if you need to make a note about a version having an unusual +// support lifetime, add it under a heading with an anchor, and add the anchor +// and branch names to the array below ('x.y' => '#anchor-name'). +$VERSION_NOTES = array( + '5.6' => '#php-5.6', +); ?> <h1>Supported Versions</h1> @@ -51,9 +58,10 @@ site_header('Supported Versions', array('css' => array('supported-versions.css') ?> <tr class="<?php echo $state ?>"> <td> - <a href="/downloads.php#v<?php echo htmlspecialchars($release['version']) ?>"> - <?php echo htmlspecialchars($branch) ?> - </a> + <a href="/downloads.php#v<?php echo htmlspecialchars($release['version']) ?>"><?php echo htmlspecialchars($branch) ?></a> + <?php if (isset($VERSION_NOTES[$branch])): ?> + <a class="version-notes" href="<?php echo htmlspecialchars($VERSION_NOTES[$branch]) ?>">*</a> + <?php endif ?> </td> <td><?php echo htmlspecialchars($initial->format('j M Y')) ?></td> <td class="collapse-phone"><em><?php echo htmlspecialchars(format_interval($initial, null)) ?></em></td> @@ -108,4 +116,14 @@ include $_SERVER['DOCUMENT_ROOT'] . '/images/supported-versions.php'; </tr> </table> +<h4>Version specific notes</h4> + +<h5 id="php-5.6">PHP 5.6</h5> + +<p> + As it is the final PHP 5 release, support for PHP 5.6 has been extended: + active support will run for an additional four months, and the security fix + period has been doubled from one to two years. Other releases are unaffected. +</p> + <?php site_footer(); ?> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php