Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d03b0e

Browse files
author
Slava Fomin
committed
Added documentation for missing ctype extension
1 parent77628d0 commit1d03b0e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎reference/constraints/Type.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,23 @@ as determined by PHP's ``is_`` functions.
112112
* `scalar<http://php.net/is_scalar>`_
113113
* `string<http://php.net/is_string>`_
114114

115+
Also, you can use ``ctype_`` functions from corresponding `built-in PHP extension<http://php.net/book.ctype.php>`_.
116+
Consider `a list of ctype functions<http://php.net/ref.ctype.php>`_:
117+
118+
* `alnum<http://php.net/function.ctype-alnum.php>`_
119+
* `alpha<http://php.net/function.ctype-alpha.php>`_
120+
* `cntrl<http://php.net/function.ctype-cntrl.php>`_
121+
* `digit<http://php.net/function.ctype-digit.php>`_
122+
* `graph<http://php.net/function.ctype-graph.php>`_
123+
* `lower<http://php.net/function.ctype-lower.php>`_
124+
* `print<http://php.net/function.ctype-print.php>`_
125+
* `punct<http://php.net/function.ctype-punct.php>`_
126+
* `space<http://php.net/function.ctype-space.php>`_
127+
* `upper<http://php.net/function.ctype-upper.php>`_
128+
* `xdigit<http://php.net/function.ctype-xdigit.php>`_
129+
130+
Make sure that proper `locale<http://php.net/function.setlocale.php>`_ is set before using one of those.
131+
115132
message
116133
~~~~~~~
117134

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp