Class for validation ISBN-code on PHP