CaSe Insensitive substr_count in PHP: Is There any Elegant Solution?
You can count the number of substring occurrences using Regexp-based functions, but if you don’t want to deal with them, that seems to be the fastest option for case insensitive substr_count.