= 0 define('TYPE_INT', 3); // Variable should be an integer define('TYPE_FLOAT', 4); // Variable is a floating point number define('TYPE_STRING', 5); // Variable is a string (essentially anything except array or object) define('TYPE_ARRAY', 6); // Variable is an array. Probably better to use is_array() define('TYPE_OBJECT', 7); // Variable is an object. Can put in a class in the range to check if object's ancestry define('TYPE_USERNAME', 8); // Check if it's okay to use as a username define('TYPE_PASSWORD', 9); // Check if string is okay to use as a password define('TYPE_EMAIL', 10); // Check if string is a valid email /* General purpose */ define('DAY_IN_SECONDS', 86400); define('SECONDS_IN_HOUR', 3600); ?>