Did you ever notice that Eloquent doesn't escape the percent sign in LIKE queries? Don't worry. It's not a security hole. In fact, it unlocks a useful feature you might not have considered. #php #laravel https://masteringlaravel.io/daily/2025-12-25-why-isnt-the-percent-sign-escaped-in-like-queries
#PHP Tip
Did you know... You can destructure arrays directly in the right-hand part of a foreach loop!
Give it a shot for cleaner and more readable code!

Continuing on the trend of why I love to use Enums in #PHP, here are some nice usages I like:
First I do not have to calculate the duration of TTLs anymore, Instead I have this beautiful TTLEnum, with all the standard duration I need in my code for cache handling.
Functions can accept strict TTLEnum types and ensure valid values.
I can read my code and understand the cache duration very fast without needing comments.
#Laravel


Switch Type Juggling
PHP switch statements use loose comparison! See how '1' matches case 1. This trap catches even experienced developers!
#php #phptricks #switch #typecoercion #phpquiz
https://www.youtube.com/watch?v=Au8lBWRj0tY
A065108: Numbers expressible as a product of Fibonacci numbers
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A065108.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A065108.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A065108.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

A064702: Numbers such that additive and multiplicative digital roots coincide
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A064702.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A064702.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A064702.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

A top request with reports? Saving them as XLSX files. That's why we taught Flow #PHP to master #Excel.
https://flow-php.com/documentation/components/adapters/excel/
Marry Christmas Everyone! 🎄🎁
A064700: Numbers k that are divisible by the multiplicative digital root of k
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A064700.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A064700.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A064700.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

A064437: a(1)=1, a(n) = a(n-1) + 3 if n is already in the sequence, a(n) = a(n-1) + 2 otherwise
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A064437.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A064437.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A064437.html
#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

CVE-2025-54068 #livewire #vuln #laravel #framework #web #application #threats #php #blade #informatique[ https://www.synacktiv.com/publications/livewire-execution-de-commandes-a-distance-via-unmarshaling.html ] La possession de l'APP_KEY sur une application Livewire en v3 ou supérieure permet d'avoir un contrôle complet.
De plus, plusieurs APP_KEY sont des valeurs par défaut sur des milliers d'app Laravel exposées publiquement.
L'équipe Livewire considère l’exposition de l'
APP_KEYcomme une frontière de sécurité suffisante. Or, compte tenu de la fréquence des fuites ou de l'utilisation de valeurs par défaut d'APP_KEYdans la nature, cette position semble sous-estimer les risques réels.
Yeah, I know. #PHP will still be dead in a decade or two.