Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed spelling
Fixed spelling.
  • Loading branch information
Slava Fomin committed Mar 11, 2014
commit bc439ff7edf968e33de942313a91cfd0a4e6b99b
2 changes: 1 addition & 1 deletion reference/constraints/Type.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Consider `a list of ctype functions <http://php.net/ref.ctype.php>`_:
* `upper <http://php.net/function.ctype-upper.php>`_
* `xdigit <http://php.net/function.ctype-xdigit.php>`_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of the links, you should use the :phpfunction: role:

* :phpfunction:`ctype_alnum`
* :phpfunction:`ctype_alpha`
* ...

Or if you don't want to use the function name:

* :phpfunction:`alnum <ctype_alnum>`
* :phpfunction:`alpha <ctype_alpha>`
* ...


Make sure that proper `locale <http://php.net/function.setlocale.php>`_ is set before using one of those.
Make sure that the proper `locale <http://php.net/function.setlocale.php>`_ is set before using one of these.

message
~~~~~~~
Expand Down