Markup identifier regexps as <code> for better readability

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345951 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2018-11-05 13:54:03 +00:00
parent e531763926
commit 316f5ea691
3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
valid constant name starts with a letter or underscore, followed
by any number of letters, numbers, or underscores. As a regular
expression, it would be expressed thusly:
<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>
<code>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</code>
</para>
&tip.userlandnaming;
<para>

View file

@ -36,7 +36,7 @@ function foo($arg_1, $arg_2, /* ..., */ $arg_n)
valid function name starts with a letter or underscore, followed
by any number of letters, numbers, or underscores. As a regular
expression, it would be expressed thus:
<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>.
<code>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</code>.
</para>
&tip.userlandnaming;
<simpara>

View file

@ -16,7 +16,7 @@
valid variable name starts with a letter or underscore, followed
by any number of letters, numbers, or underscores. As a regular
expression, it would be expressed thus:
'<literal>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</literal>'
<code>[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*</code>
</para>
<note>