Exemplo n.º 1
0
	may expose you to security vulnerabilities and bugs that have been fixed in
	more recent versions of PHP.
</p>

<table class="standard">
	<thead>
		<tr>
			<th>Branch</th>
			<th colspan="2">Date</th>
			<th>Last Release</th>
			<th>Notes</th>
		</tr>
	</thead>
	<tbody>
		<?php 
foreach (get_eol_branches() as $major => $branches) {
    ?>
			<?php 
    foreach ($branches as $branch => $detail) {
        ?>
				<?php 
        $eolPeriod = format_interval('@' . $detail['date'], null);
        ?>
					<tr>
						<td><?php 
        echo htmlspecialchars($branch);
        ?>
</td>
						<td>
							<?php 
        echo date('j M Y', $detail['date']);
Exemplo n.º 2
0
	may expose you to security vulnerabilities and bugs that have been fixed in
	more recent versions of PHP.
</p>

<table class="standard">
	<thead>
		<tr>
			<th>Branch</th>
			<th colspan="2">Date</th>
			<th>Last Release</th>
			<th>Notes</th>
		</tr>
	</thead>
	<tbody>
		<?php 
foreach (get_eol_branches(array('5.4.45')) as $major => $branches) {
    ?>
			<?php 
    foreach ($branches as $branch => $detail) {
        ?>
				<?php 
        $eolPeriod = format_interval('@' . $detail['date'], null);
        ?>
					<tr>
						<td><?php 
        echo htmlspecialchars($branch);
        ?>
</td>
						<td>
							<?php 
        echo date('j M Y', $detail['date']);