Checking if value is integer or integer literal. Exception will be thrown if given parameter is not integer. Useful for checking values provided by user, e.g. GET / POST values.
tangra_if_not_int_throw_e($somevar);
Normalizing path, e.g. ensuring that ends with slash (/)
$somepath_normalized = tangra_normalize_path($somepath);