mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
e531763926
commit
316f5ea691
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue