Fuzzy sets in PHP