Skip to content

Commit bdfa964

Browse files
authored
Change <a name="..."> to <a id="...">
PhpStorm flagged @name as a deprecated HTML attribute, so it seemed appropriate to change then to @id. In cases where there were both a @name and @id attribute and their values were the same, this commit removes the @name attribute (there were no cases where both @name and @id attributes existed but having different values.) Closes phpGH-416.
1 parent edfe461 commit bdfa964

20 files changed

+247
-247
lines changed

ChangeLog-4.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$MINOR_VERSIONS = ['4.4', '4.3', '4.2', '4.1', '4.0'];
77
changelog_header(4, $MINOR_VERSIONS);
88
?>
9-
<a name="PHP_4_4"></a>
9+
<a id="PHP_4_4"></a>
1010

1111
<section class="version" id="4.4.9"><!-- {{{ 4.4.9 -->
1212
<h3>Version 4.4.9</h3>
@@ -346,7 +346,7 @@
346346

347347
<!-- }}} --></section>
348348

349-
<a name="PHP_4_3"></a>
349+
<a id="PHP_4_3"></a>
350350

351351
<section class="version" id="4.3.11"><!-- {{{ 4.3.11 -->
352352
<h3>Version 4.3.11</h3>
@@ -1754,7 +1754,7 @@ function in question. (Derick, Wez, Marcus)</li>
17541754

17551755
<!-- }}} --></section>
17561756

1757-
<a name="PHP_4_2"></a>
1757+
<a id="PHP_4_2"></a>
17581758

17591759
<section class="version" id="4.2.3"><!-- {{{ 4.2.3 -->
17601760
<h3>Version 4.2.3</h3>
@@ -2076,7 +2076,7 @@ class or is derived from it. (Andrei, Zend Engine)</li>
20762076

20772077
<!-- }}} --></section>
20782078

2079-
<a name="PHP_4_1"></a>
2079+
<a id="PHP_4_1"></a>
20802080

20812081
<section class="version" id="4.1.2"><!-- {{{ 4.1.2 -->
20822082
<h3>Version 4.1.2</h3>
@@ -2327,7 +2327,7 @@ functions/methods that accepted parameters by reference. (Andrei)</li>
23272327

23282328
<!-- }}} --></section>
23292329

2330-
<a name="PHP_4_0"></a>
2330+
<a id="PHP_4_0"></a>
23312331

23322332
<section class="version" id="4.0.6"><!-- {{{ 4.0.6 -->
23332333
<h3>Version 4.0.6</h3>

ChangeLog-5.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$MINOR_VERSIONS = ['5.6', '5.5', '5.4', '5.3', '5.2', '5.1', '5.0'];
77
changelog_header(5, $MINOR_VERSIONS);
88
?>
9-
<a name="PHP_5_6"></a>
9+
<a id="PHP_5_6"></a>
1010
<section class="version" id="5.6.40"><!-- {{{ 5.6.40 -->
1111
<h3>Version 5.6.40</h3>
1212
<b><?php release_date('10-Jan-2019'); ?></b>
@@ -2524,7 +2524,7 @@
25242524
</ul>
25252525
<!-- }}} --></section>
25262526

2527-
<a name="PHP_5_5"></a>
2527+
<a id="PHP_5_5"></a>
25282528
<section class="version" id="5.5.38"><!-- {{{ 5.5.38 -->
25292529
<h3>Version 5.5.38</h3>
25302530
<?php release_date('21-Jul-2016'); ?>
@@ -4980,7 +4980,7 @@ function gzopen by gzopen64).</li>
49804980

49814981
<!-- }}} --></section>
49824982

4983-
<a name="PHP_5_4"></a>
4983+
<a id="PHP_5_4"></a>
49844984
<section class="version" id="5.4.45"><!-- {{{ 5.4.45 -->
49854985
<h3>Version 5.4.45</h3>
49864986
<?php release_date('03-Sep-2015'); ?>
@@ -7884,7 +7884,7 @@ functions).</li>
78847884

78857885
<!-- }}} --></section>
78867886

7887-
<a name="PHP_5_3"></a>
7887+
<a id="PHP_5_3"></a>
78887888
<section class="version" id="5.3.29"><!-- {{{ 5.3.29 -->
78897889
<h3>Version 5.3.29</h3>
78907890
<?php release_date('14-Aug-2014'); ?>
@@ -11608,7 +11608,7 @@ class members or constants. (Matt)</li>
1160811608
</ul>
1160911609
<!-- }}} --></section>
1161011610

11611-
<a name="PHP_5_2"></a>
11611+
<a id="PHP_5_2"></a>
1161211612
<section class="version" id="5.2.17"><!-- {{{ 5.2.17 -->
1161311613
<h3>Version 5.2.17</h3>
1161411614
<?php release_date('06-Jan-2011'); ?>
@@ -13706,7 +13706,7 @@ class members or constants. (Matt)</li>
1370613706
</ul>
1370713707
<!-- }}} --></section>
1370813708

13709-
<a name="PHP_5_1"></a>
13709+
<a id="PHP_5_1"></a>
1371013710
<section class="version" id="5.1.6"><!-- {{{ 5.1.6 -->
1371113711
<h3>Version 5.1.6</h3>
1371213712
<?php release_date('24-Aug-2006'); ?>
@@ -14647,7 +14647,7 @@ class members or constants. (Matt)</li>
1464714647

1464814648
<!-- }}} --></section>
1464914649

14650-
<a name="PHP_5_0"></a>
14650+
<a id="PHP_5_0"></a>
1465114651
<section class="version" id="5.0.5"><!-- {{{ 5.0.5 -->
1465214652
<h3>Version 5.0.5</h3>
1465314653
<?php release_date('05-Sep-2005'); ?>

ChangeLog-7.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$MINOR_VERSIONS = ['7.4', '7.3', '7.2', '7.1', '7.0'];
77
changelog_header(7, $MINOR_VERSIONS);
88
?>
9-
<a name="PHP_7_4"></a>
9+
<a id="PHP_7_4"></a>
1010

1111
<section class="version" id="7.4.21"><!-- {{{ 7.4.21 -->
1212
<h3>Version 7.4.21</h3>
@@ -1638,7 +1638,7 @@
16381638

16391639
<!-- }}} --></section>
16401640

1641-
<a name="PHP_7_3"></a>
1641+
<a id="PHP_7_3"></a>
16421642

16431643
<section class="version" id="7.3.29"><!-- {{{ 7.3.29 -->
16441644
<h3>Version 7.3.29</h3>
@@ -3489,7 +3489,7 @@
34893489
</ul>
34903490
<!-- }}} --></section>
34913491

3492-
<a name="PHP_7_2"></a>
3492+
<a id="PHP_7_2"></a>
34933493

34943494
<section class="version" id="7.2.34"><!-- {{{ 7.2.34 -->
34953495
<h3>Version 7.2.34</h3>
@@ -5264,7 +5264,7 @@
52645264
</ul>
52655265
<!-- }}} --></section>
52665266

5267-
<a name="PHP_7_1"></a>
5267+
<a id="PHP_7_1"></a>
52685268
<section class="version" id="7.1.33"><!-- {{{ 7.1.33 -->
52695269
<h3>Version 7.1.33</h3>
52705270
<b><?php release_date('24-Oct-2019'); ?></b>
@@ -7449,7 +7449,7 @@
74497449
</ul>
74507450
<!-- }}} --></section>
74517451

7452-
<a name="PHP_7_0"></a>
7452+
<a id="PHP_7_0"></a>
74537453
<section class="version" id="7.0.33"><!-- {{{ 7.0.33 -->
74547454
<h3>Version 7.0.33</h3>
74557455
<b><?php release_date('06-Dec-2018'); ?></b>

ChangeLog-8.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$MINOR_VERSIONS = ['8.0'];
77
changelog_header(8, $MINOR_VERSIONS);
88
?>
9-
<a name="PHP_8_0"></a>
9+
<a id="PHP_8_0"></a>
1010

1111
<section class="version" id="8.0.8"><!-- {{{ 8.0.8 -->
1212
<h3>Version 8.0.8</h3>

archive/2004.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ functions starting with the letters you typed in. You can browse the list
254254
<hr>
255255

256256
<?php news_image("/downloads.php#v5", "php-version5.gif", "PHP 5"); ?>
257-
<a name="5.0.1"></a>
257+
<a id="5.0.1"></a>
258258
<h1>PHP 5.0.1 Released!</h1>
259259
<p>
260260
<span class="newsdate">[12-Aug-2004]</span>
@@ -287,7 +287,7 @@ functions starting with the letters you typed in. You can browse the list
287287
<hr>
288288

289289
<?php news_image("/downloads.php#v5", "php-version5.gif", "PHP 5"); ?>
290-
<a name="5.0.0"></a>
290+
<a id="5.0.0"></a>
291291
<h1>PHP 5.0.0 Released!</h1>
292292
<p>
293293
<span class="newsdate">[13-Jul-2004]</span>
@@ -520,7 +520,7 @@ functions starting with the letters you typed in. You can browse the list
520520
<hr>
521521

522522
<?php news_image("/downloads.php#5", "php-version5.gif", "PHP 5"); ?>
523-
<a name="5.0.0RC1"></a>
523+
<a id="5.0.0RC1"></a>
524524
<h1>PHP 5 Release Candidate 1 Released!</h1>
525525
<p>
526526
<span class="newsdate">[18-Mar-2004]</span>

archive/2007.php

+20-20
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<hr>
1515

1616
<div class="newsItem">
17-
<a name="2007-11-08-1" id="2007-11-08-1"><h1>PHP 5.2.5 Released</h1></a>
17+
<a id="2007-11-08-1"><h1>PHP 5.2.5 Released</h1></a>
1818
<div>
1919
<span class="newsdate">[09-Nov-2007]</span>
2020
<p> The PHP development team would like to announce the immediate <a href="/downloads.php#v5">availability of PHP 5.2.5</a>. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.</p>
@@ -42,7 +42,7 @@
4242
<?php news_image("http://www.prophp.com.br/phpconference.php", "phpconfbrasil2007.png", "São Paulo 2007"); ?>
4343
<div class="newsItem">
4444

45-
<a name="2007-10-29-1" id="2007-10-29-1"><h1>PHP Conference Brasil 2007</h1></a>
45+
<a id="2007-10-29-1"><h1>PHP Conference Brasil 2007</h1></a>
4646

4747
<div>
4848
<span class="newsdate">[29-Oct-2007]</span>
@@ -57,7 +57,7 @@
5757
<div class="newsItem">
5858

5959

60-
<a name="2007-10-03-1" id="2007-10-03-1"><h1>The new documentation build system is ready for testing</h1></a>
60+
<a id="2007-10-03-1"><h1>The new documentation build system is ready for testing</h1></a>
6161
<div>
6262
<span class="newsdate">[03-Oct-2007]</span>
6363
<p>
@@ -85,7 +85,7 @@
8585
<?php news_image("http://www.dcphpconference.com/", "dcphpconference.2007.png", "Washington DC 2007"); ?>
8686
<div class="newsItem">
8787

88-
<a name="2007-09-21-1" id="2007-09-21-1"><h1>DC PHP Conference 2007</h1></a>
88+
<a id="2007-09-21-1"><h1>DC PHP Conference 2007</h1></a>
8989

9090
<div>
9191
<span class="newsdate">[21-Sep-2007]</span>
@@ -102,7 +102,7 @@
102102
<?php news_image("http://www.afup.org/pages/forumphp2007/", "afup2007.jpg", "Paris Forum 2007"); ?>
103103
<div class="newsItem">
104104

105-
<a name="2007-09-20-1" id="2007-09-20-1"><h1>Forum PHP Paris 2007</h1></a>
105+
<a id="2007-09-20-1"><h1>Forum PHP Paris 2007</h1></a>
106106
<div>
107107
<span class="newsdate">[20-Sep-2007]</span>
108108
<p>
@@ -120,7 +120,7 @@
120120
<hr>
121121
<div class="newsItem">
122122

123-
<a name="2007-08-30-1" id="2007-08-30-1"><h1>PHP 5.2.4 Released</h1></a>
123+
<a id="2007-08-30-1"><h1>PHP 5.2.4 Released</h1></a>
124124

125125
<div>
126126
<span class="newsdate">[30-Aug-2007]</span>
@@ -172,7 +172,7 @@
172172
<?php news_image("http://www.zendcon.com/", "zendcon07_logo_s.jpg", "Zend/PHP Conference 2007"); ?>
173173
<div class="newsItem">
174174

175-
<a name="2007-07-25-1" id="2007-07-25-1"><h1>Zend/PHP Conference 2007</h1></a>
175+
<a id="2007-07-25-1"><h1>Zend/PHP Conference 2007</h1></a>
176176
<div>
177177
<span class="newsdate">[25-Jul-2007]</span>
178178

@@ -210,7 +210,7 @@
210210
<?php news_image("http://works.phparch.com/c/p/index", "phpworks2007.png", "php|works 2007"); ?>
211211
<div class="newsItem">
212212

213-
<a name="2007-07-16-01" id="2007-07-16-01"><h1>php|works 2007 in Atlanta</h1></a>
213+
<a id="2007-07-16-01"><h1>php|works 2007 in Atlanta</h1></a>
214214
<div>
215215
<span class="newsdate">[16-Jul-2007]</span>
216216
<p>
@@ -226,7 +226,7 @@
226226
<hr>
227227
<div class="newsItem">
228228

229-
<a name="2007-07-13-1" id="2007-07-13-1"><h1>PHP 4 end of life announcement</h1></a>
229+
<a id="2007-07-13-1"><h1>PHP 4 end of life announcement</h1></a>
230230
<div>
231231

232232
<span class="newsdate">[13-Jul-2007]</span>
@@ -256,7 +256,7 @@
256256
<hr>
257257
<div class="newsItem">
258258

259-
<a name="2007-06-01-1" id="2007-06-01-1"><h1>PHP 5.2.3 Released</h1></a>
259+
<a id="2007-06-01-1"><h1>PHP 5.2.3 Released</h1></a>
260260

261261
<div>
262262
<span class="newsdate">[01-Jun-2007]</span>
@@ -300,7 +300,7 @@
300300
<?php news_image("http://www.wtconferences.com/2007/?q=node/1", "wtlogo_s.png", "WebTech 2007"); ?>
301301
<div class="newsItem">
302302

303-
<a name="2007-05-19-1" id="2007-05-19-1"><h1>WebTech 2007</h1></a>
303+
<a id="2007-05-19-1"><h1>WebTech 2007</h1></a>
304304
<div>
305305

306306
<span class="newsdate">[19-May-2007]</span>
@@ -323,7 +323,7 @@
323323
<hr>
324324
<div class="newsItem">
325325

326-
<a name="2007-05-03-1" id="2007-05-03-1"><h1>PHP 5.2.2 and PHP 4.4.7 Released</h1></a>
326+
<a id="2007-05-03-1"><h1>PHP 5.2.2 and PHP 4.4.7 Released</h1></a>
327327
<div>
328328
<span class="newsdate">[03-May-2007]</span>
329329

@@ -400,7 +400,7 @@ functions and extensions identified as having had vulnerabilities in them,
400400
<hr>
401401
<div class="newsItem">
402402

403-
<a name="2007-04-14-1" id="2007-04-14-1"><h1>The PHP.net Google Summer of Code</h1></a>
403+
<a id="2007-04-14-1"><h1>The PHP.net Google Summer of Code</h1></a>
404404
<div>
405405
<span class="newsdate">[14-Apr-2007]</span>
406406
<p>
@@ -471,7 +471,7 @@ functionality for PHP developers, including detailed error information,
471471
<hr>
472472
<div class="newsItem">
473473

474-
<a name="2007-03-01-1" id="2007-03-01-1"><h1>PHP 4.4.6 Released</h1></a>
474+
<a id="2007-03-01-1"><h1>PHP 4.4.6 Released</h1></a>
475475

476476
<div>
477477
<span class="newsdate">[01-Mar-2007]</span>
@@ -497,7 +497,7 @@ functionality for PHP developers, including detailed error information,
497497
<hr>
498498
<div class="newsItem">
499499

500-
<a name="2007-02-08-2" id="2007-02-08-2"><h1>PHP 5.2.1 and PHP 4.4.5 Released</h1></a>
500+
<a id="2007-02-08-2"><h1>PHP 5.2.1 and PHP 4.4.5 Released</h1></a>
501501

502502
<div>
503503
<span class="newsdate">[08-Feb-2007]</span>
@@ -583,7 +583,7 @@ functionality for PHP developers, including detailed error information,
583583
<hr>
584584
<div class="newsItem">
585585

586-
<a name="2007-02-08-1" id="2007-02-08-1"><h1>The front page has changed</h1></a>
586+
<a id="2007-02-08-1"><h1>The front page has changed</h1></a>
587587
<div>
588588
<span class="newsdate">[08-Feb-2007]</span>
589589
<p>
@@ -598,7 +598,7 @@ functionality for PHP developers, including detailed error information,
598598
<?php news_image("http://conf.phpquebec.com/en/conf2007/", "conference_php_quebec.gif", "PHP Québec conference"); ?>
599599
<div class="newsItem">
600600

601-
<a name="2007-02-07-1" id="2007-02-07-1"><h1>PHP Québec conference 2007</h1></a>
601+
<a id="2007-02-07-1"><h1>PHP Québec conference 2007</h1></a>
602602
<div>
603603
<span class="newsdate">[07-Feb-2007]</span>
604604
<p>
@@ -627,7 +627,7 @@ functionality for PHP developers, including detailed error information,
627627
<hr>
628628
<div class="newsItem">
629629

630-
<a name="2007-02-03-1" id="2007-02-03-1"><h1>PHP Manual Updates</h1></a>
630+
<a id="2007-02-03-1"><h1>PHP Manual Updates</h1></a>
631631
<div>
632632
<span class="newsdate">[03-Feb-2007]</span>
633633
<p>The PHP documentation team is proud to present to the PHP community a few fixes and tweaks to the <a href="/manual/en/">PHP Manual</a>, including:</p>
@@ -647,7 +647,7 @@ functionality for PHP developers, including detailed error information,
647647
<?php news_image("http://www.phpconference.co.uk/", "phplondon2007.png", "PHP London 2007"); ?>
648648
<div class="newsItem">
649649

650-
<a name="2007-01-18-1" id="2007-01-18-1"><h1>PHP London 2007</h1></a>
650+
<a id="2007-01-18-1"><h1>PHP London 2007</h1></a>
651651
<div>
652652
<span class="newsdate">[18-Jan-2007]</span>
653653
<p>
@@ -661,7 +661,7 @@ functionality for PHP developers, including detailed error information,
661661
<?php news_image("http://www.phparch.com/tek", "phptek2007.png", "php|tek 2007"); ?>
662662
<div class="newsItem">
663663

664-
<a name="2007-01-12-1" id="2007-01-12-1"><h1>Chicago php|tek 2007</h1></a>
664+
<a id="2007-01-12-1"><h1>Chicago php|tek 2007</h1></a>
665665
<div>
666666
<span class="newsdate">[12-Jan-2007]</span>
667667
<p>

0 commit comments

Comments
 (0)