Validate_AU::acn

Validate_AU::acn() – Validate an Australian Company Number (ACN)

Synopsis

require_once '/Validate/AU.php';

bool Validate_AU::acn ( string $acn )

Description

The ACN is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation.

Parameter

string $acn

ACN number to validate

Return value

returns Returns true on success, false otherwise

Throws

throws no exceptions thrown

author

author Byron Adams <byron.adams54@gmail.com>

author Daniel O'Connor <daniel.oconnor@gmail.com>

Note

This function can not be called statically.