tao-test/app/vendor/respect/validation/docs/rules/Cntrl.md

287 B

Cntrl

  • v::cntrl()
  • v::cntrl(string $additionalChars)

This is similar to v::alnum(), but only accepts control characters:

v::cntrl()->validate("\n\r\t"); // true

See also: