DEV Community


Discussion on: Better strings in PHP

davidbruchmann profile image
David Bruchmann

btw: adding a previous() (or prev()) function to the iterator class can make some things a lot of easier. Don't know if it had a usable feature related to the strings here, but it's easy to implement and can save some headaches in other use-cases.