Flux
Couleur d'accent
Toutes les catégories

Web

2332 articles

Stop Writing PHP Like This (8.6 Fixes It)

Stop Writing PHP Like This (8.6 Fixes It)

This is how PHP 8.6 lets you write a string transformation, with no closures and no temp variables. $name = 'Scott Keck-Warren'; $fixed = $name |> str_replace('Scott', 'Alice', ?) |> strtolower(...); // string(17) "alice keck-warren" var_dump($fixed); It’s going to be released November 19, and I’ll also show you a deprecation that’s almost certainly in […] The post Stop Writing PHP Like This (8.6 Fixes It) appeared first on PHP Architect.

PHP Architect
★ Detecting spam and auto-replies with Jev and the Laravel AI SDK

★ Detecting spam and auto-replies with Jev and the Laravel AI SDK

Yesterday Taylor announced that Jev support landed in the 1.x branch of the Laravel AI SDK. We started using it that same day for spam detection in There There. Let's take a look at what Jev is and how you can use it. How Jev is different from an LLM Jev is made by TypeSafe. An LLM generates text: you ask it something, it writes an answer, and if you want structured data back you have to ask for it and hope. Jev doesn't generate anything. You give it some state and a question, and it gives you…

Freek Van der Herten
The PHP Podcast 2026.09.17

The PHP Podcast 2026.09.17

🎙️ PHP Podcast – September 17, 2026 Hosts: Joe Ferguson, Sara Golemon & John Congdon The September issue shipped 13 days early, a blue elephant named Eric raised eyebrows, PHP 8.6 is racing GTA 6 to a November launch, and a CDN bug taught us all a lesson about cache keys. Also: a lot of […] The post The PHP Podcast 2026.09.17 appeared first on PHP Architect.

PHP Architect
Esc