Upload Filetype Allowlist
Block dangerous uploads with strict MIME checks.
#php #python #uploads #mime #security #validation #backendsafety #reliability #performance #viralcoding
https://www.youtube.com/watch?v=5l5Zu4OyjsI
oooh, #PHP takes numbers like 50_000 too, I didn't know.
And I also don't know if #js learned it from there ... anyways, both know it now. Good
Laravel makes it easy to fake UUIDs in tests with Str::createUuidsUsing, but returning a plain string instead of a proper UUID object can break in ways you might not anticipate. #php #laravel https://masteringlaravel.io/daily/2026-03-30-a-subtle-gotcha-when-faking-uuids-in-tests
🎙️🔥 Symfony, comme vous ne l’avez jamais entendu
1h15 d’échange avec Nicolas Grekas — vision, open source, IA… avec Yoan Bernabeu 💥
Incontournable pour tous les passionnés de Symfony !
🎥 https://youtu.be/eok2xwvK4Mc

Genuine question for the Laravel community 👇
What's the most painful part of your current development workflow?
→ Repetitive boilerplate setup every project?
→ Fixing generic AI output to match Laravel conventions?
→ Onboarding new team members to existing codebases?
→ Writing tests last or never at all?
→ Something else entirely?
We're building LaraCopilot based on real developer pain. Every reply shapes our roadmap.
A thought about legacy code styles, and esoteric-but-works code styles:
I found code that looks like this in a composer-loaded library recently:
static function load() {
$args = func_get_args();
$data = array_shift($args);
$type = array_shift($args);
...
}
which really confused static code analysis tools that you'd use in an IDE. You're supposed to always call load() with a data and type parameter, but they didn't declare it as such.
Is it worth a pull request with phpdoc?
A250048: Numbers n such that m = floor(n/6) is coprime to n and, if nonzero, m is also a term of the sequence
A250048 ➡️ https://oeis.org/A250048
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A250048.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A250048.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A250048.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

Decomposition into weight × level + jump of prime numbers:
- a new classification of primes ➡️ https://decompwlj.com/primedecomp.php
- in 3D - threejs - webGL ➡️ https://decompwlj.com/3Dgraph/Prime_numbers.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

A250047: Numbers n such that m = floor(n/7) is not coprime to n and, if nonzero, m is also a term of the sequence
A250047 ➡️ https://oeis.org/A250047
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A250047.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A250047.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A250047.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

A249723: Numbers n such that there is a multiple of 9 on row n of Pascal's triangle with property that all multiples of 4 on the same row (if they exist) are larger than it
A249723 ➡️ https://oeis.org/A249723
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A249723.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A249723.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A249723.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

A249669: a(n) = floor(prime(n)^(1+1/n))
A249669 ➡️ https://oeis.org/A249669
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A249669.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A249669.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A249669.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

How to Replace strpos With str_contains
str_contains returns bool. No more === false checks. PHP 8+
#php #strcontains #php8 #strings #howto
https://www.youtube.com/watch?v=Omin0qJyRtA