John "Gozzy" Godsland on Nostr: Trying to change my habit from using strpos() to str_contains() when I can. PHP 8 has ...
Trying to change my habit from using strpos() to str_contains() when I can. PHP 8 has only been out for five years. ๐ #PHP
Published at
2026-08-12 16:37:08 UTCEvent JSON
{
"id": "728e28df4bce3ca639b2a46755e387d41e600b9d7f3ffa9189e79b37c2c4a309",
"pubkey": "e8fe936e41d42b210632c868acf65edf0e53056ce96134f811fe9c120a86e22e",
"created_at": 1786552628,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"proxy",
"https://social.gozzys.com/@john/117083513035752288",
"web"
],
[
"proxy",
"https://social.gozzys.com/users/john/statuses/117083513035752288",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://social.gozzys.com/users/john/statuses/117083513035752288",
"pink.momostr"
],
[
"-"
]
],
"content": "Trying to change my habit from using strpos() to str_contains() when I can. PHP 8 has only been out for five years. ๐ #PHP",
"sig": "3cb72d550d5ba6141dffe45efc78b687083198bac7602150cb7624ece4538624e193e39a4f9e7e8877b5ad0640ae6973009980982f413a0c779dee34e9a6297d"
}