#str_contains
oh i feel that last comment LOLLLL. like im doing crazy php work, then I google "php check if string contains word" as if its not "str_contains()" dkjgkdsfjg

But yeah no that's absolutely how I see it. My main issue is how people see it as "the computer thinks for me".
February 26, 2025 at 6:17 PM
Looking at you in_array and str_contains.

It's a bit of a gamble. But this is what makes me feel alive coding PHP. (And the typing that's only checked at runtime). #php #laravel
February 9, 2025 at 7:11 PM
PHPで文字列検索においてstr_containsを推奨する書ところが多々あって、確かにstrposよりはコードがスッキリするなと思ったら空文字でtrue返してくるのはちょっとやだな
February 12, 2024 at 5:12 PM
Diving into the latest PHP 8.3 features and finding some gems! The `str_contains` function is a game-changer, making string searches a breeze. Union types add a layer of sophistication to my code, streamlining type declarations. What other features do you love?#PHP8 #CodingCommunity #TechInnovation
December 16, 2023 at 6:09 PM
PHP8時代にはstrposではなくstr_containsを使いましょう✍️
www.php.net/manual/ja/fu...
www.php.net
September 25, 2023 at 1:02 AM