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 <[email protected]>

author Daniel O'Connor <[email protected]>

See

see http://www.asic.gov.au/asic/asic_infoco.nsf/byheadline/Australian+Company+Number+(ACN)+Check+Digit

Note

This function can not be called statically.