php normalizer class