#PHPC tip: PHP 8.4 added `array_find()` and `array_any()`, so the `foreach` + `break` loop can go.
`array_find()` returns `null` when nothing matches. `array_all()` covers the "every item" check.

#PHPC tip: PHP 8.4 added `array_find()` and `array_any()`, so the `foreach` + `break` loop can go.
`array_find()` returns `null` when nothing matches. `array_all()` covers the "every item" check.
đź§© HTML parsing in PHP just got better
Keyvan Minoukadeh shows on @entwicklerde.bsky.social how PHP 8.4 brings:
⚡ modern HTML parsing
🎯 native CSS selectors
đź› cleaner scraping
👉 Read more:
https://tinyurl.com/22xfk26e