Cpf()
Validates a Brazillian CPF number.
v::cpf()->validate('44455566820'); // trueIt ignores any non-digit char:
v::cpf()->validate('444.555.668-20'); // trueIf you need to validate digits only, add ->digit() to
the chain:
v::digit()->cpf()->validate('44455566820'); // true| Version | Description |
|---|---|
| 0.3.9 | Created |
See also: