Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 264 Bytes

Cntrl.md

File metadata and controls

17 lines (12 loc) · 264 Bytes

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: