Random Project

Works ok but….

works ok but there is an error in return error call, the last line is:

exit ($errors[$state]);

and should be:

exit ((int)$errors[$state]);

Because error number should be and int and not a string to works ok.