Base64

  • Base64()

Validate if a string is Base64-encoded.

v::base64()->validate('cmVzcGVjdCE='); // true
v::base64()->validate('respect!'); // false

Categorization

  • Strings

Changelog

Version Description
2.0.0 Created

See also: