I think you meant `$class` instead of `$s`. Also, shouldn't `$item` be the first parameter (haystack) and `$class` the second one (needle)?