I felt that these three array functions were sorely lacking from PHP. They're simple to use and easy to install, and follow the general syntax of the existing array methods that are default to PHP.
This code can compare a string to a wildcard, such as "a*c" which would match "abc" or "abbbbbc" or "afiefaififeanfnc" but not "aaa". It can also match "a?c" to "abc" or "a7c" but not "azzc".
Web development is a lot of trial-and-error. With PHP and JavaScript, most of it is logical; X happens and Y is true therefore Z will happen. But when you get into formatting (like rounded corners, testing column widths, making faux columns and so on), you have to write your CSS formatting code and then test it out. If it's not to your liking, you change it. There's no real logic about it.