Date: 2020-02-17
Author: Philipp Tanlak
Votes: 43 / 9
I would like to know how many of you reading this currently have a makeshift function in their code base with a similar name and function. While researching this book I informed a colleague of this functionality and he proceeded to show me a str_contains” function in the very code base I use on a daily basis! Needless to say, this has been needed in PHP for a while. As the name implies, this function returns true/false if a string is contained in another given string. As per many ...