Iban

  • v::iban()

Validates whether the input is a valid IBAN (International Bank Account Number) or not.

v::iban()->validate('SE35 5000 0000 0549 1000 0003'); // true
v::iban()->validate('ch9300762011623852957'); // true

v::iban()->validate('ZZ32 5000 5880 7742'); // false
v::iban()->validate(123456789); // false
v::iban()->validate(''); // false

Categorization

  • Banking

Changelog

Version Description
2.0.0 Created

See also: