Skip to content

Commit 4ada992

Browse files
author
cmb
committed
Markup identifier regexps as <code> for better readability
git-svn-id: http://svn.php.net/repository/phpdoc/en@345951 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent efc341e commit 4ada992

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

trunk/language/constants.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
valid constant name starts with a letter or underscore, followed
1717
by any number of letters, numbers, or underscores. As a regular
1818
expression, it would be expressed thusly:
19-
<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>
19+
<code>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</code>
2020
</para>
2121
&tip.userlandnaming;
2222
<para>

trunk/language/functions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function foo($arg_1, $arg_2, /* ..., */ $arg_n)
3636
valid function name starts with a letter or underscore, followed
3737
by any number of letters, numbers, or underscores. As a regular
3838
expression, it would be expressed thus:
39-
<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>.
39+
<code>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</code>.
4040
</para>
4141
&tip.userlandnaming;
4242
<simpara>

trunk/language/variables.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
valid variable name starts with a letter or underscore, followed
1717
by any number of letters, numbers, or underscores. As a regular
1818
expression, it would be expressed thus:
19-
'<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>'
19+
<code>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</code>
2020
</para>
2121

2222
<note>

0 commit comments

Comments
 (0)