Dear #PHP community! Could someone with power please raise an RFC to make the strict parameter of the in_array() built-in function true by default? It's really annoying to remember putting true as the third parameter every time, and not doing it might potentially lead to weird bugs. Thanks!
Symfony Station covers the essential news in the Symfony, PHP, Cybersecurity, and Fediverse development communities with a focus on protecting democracy. Please make a small donation to help cover our out-of-pocket costs. Our labor is provided free of charge to support the communities we write about. #symfony#drupal#PHP#cybersecurity#fediverse
Symfony Station covers the essential news in the Symfony, PHP, Cybersecurity, and Fediverse development communities with a focus on protecting democracy. Please make a small donation to help cover our out-of-pocket costs. Our labor is provided free of charge to support the communities we write about.
It's great to see the #PHP ecosystem grow and prosper and I believe proper tool support and performance insights will only help when it comes to choosing the right tool for your job.
It's been a bit of a struggle getting everything to work for me, but thanks to our C specialists all the test scenarios I wrote along the way are now passing, including #Laravel#Octane
Salut la communauté. Une petite idée de comment on pourrait récupérer localement le contenu d'un fichier toutes les 10 secondes sur un serveur pour l'afficher sur un site qui tourne sur #Wordpress sur ce même serveur. C'est en gros le nom d'un artiste et d'une chanson diffusée en live sur une radio, et on veut l'afficher sur la page web de la radio.
On peut fait ça en quoi ? En #php ? Avec un plugin ? Et s'il y a 1000 personnes qui accèdent au site en même temps, comment on fait pour éviter de faire 1000 fois la même requête ?
📝 Group and Sort Data in Latte Templates Like a Pro
In the latest update of Latte, we are introducing several significant enhancements that will simplify and make more efficient the work with data in your templates.
Why does #Symfony define what appears to be a “real” value for APP_SECRET in the .env file that’s committed to your repository, and then, right above it, there’s a comment that says (in all caps):
“DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.”
Where’s the documentation that explains what APP_SECRET is used for? Why doesn't it put this value in .env.local (ignored by .gitignore)?
PHP isn't the worst programming language, so why do so many people criticize it? (dev.to)
Because it’s currently 77% of the internet right now Despite the frequent jests directed at PHP,...