Opposite of MySQL FIND_IN_SET

How can I do the equivalent of: !FIND_IN_SET('needle', haystack) Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to … Read more

How to Alphabetically Sort a SplObjectStorage Set in PHP?

I have an array of letters that must be alphabetically sorted in a SplObjectStorage() set using SPL methods such as rewind(), current(), next(), and valid(). Currently, my while loop runs indefinitely without sorting anything, but I’m not sure why. I haven’t seen anything online related to sorting either SPL doubly linked lists or Object Storage’s so hopefully this will be useful to SOC.