mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
24 lines
361 B
Markdown
24 lines
361 B
Markdown
# Cntrl
|
|
|
|
- `Cntrl()`
|
|
- `Cntrl(string ...$additionalChars)`
|
|
|
|
This is similar to `Alnum()`, but only accepts control characters:
|
|
|
|
```php
|
|
v::cntrl()->validate("\n\r\t"); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.5.0 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Alnum](Alnum.md)
|
|
- [Printable](Printable.md)
|
|
- [Punct](Punct.md)
|
|
- [Space](Space.md)
|