Benoit Viguier's Avatar

Benoit Viguier

@b-viguier

Developer
// print_r($this)
// TODO: update this comment
France - Lyon
https://b-viguier.github.io

204
Followers
63
Following
14
Posts
04.11.2024
Joined
Posts Following

Latest posts by Benoit Viguier @b-viguier

Preview
Le grand cycle de la vie (d’une variable) En PHP, pas besoin de se préoccuper de l’allocation mémoire, le ZendEngine gère tout ça pour vous ! Malgré tout, lorsque vous exécutez des processus longs (cron, workers…), il est parfois (trop) facile de consommer beaucoup (trop) de mémoire sans s’en rendre compte… *Garbage collection*, références cycliques, *copy on write*, *WeakReference*… voici un rapide tour d’horizon des pièges et outils à connaître pour optimiser la gestion mémoire de vos programmes.

« Le grand cycle de la vie (d’une variable) », la conférence de @b-viguier.bsky.social à revoir sur le site de l'AFUP

26.02.2026 14:00 👍 1 🔁 1 💬 0 📌 0
Preview
GitHub - Slashgear/gdpr-cookie-scanner: CLI tool to scan websites for GDPR cookie consent compliance CLI tool to scan websites for GDPR cookie consent compliance - Slashgear/gdpr-cookie-scanner

Hey !

Amis publiant des sites internet en Europe, j'ai publié un outils qui permet de facilement générer un rapport sur vos site pour savoir si vous gérez de manière correct le tracking / les cookies et les cookies modales.

Intéressé d'avoir vos feedback !

github.com/Slashgear/gd...

22.02.2026 18:57 👍 13 🔁 8 💬 3 📌 0
Preview
Une petite histoire de compression | Antoine Caron Retour d'expérience sur l'optimisation du poids d'une application de poker planning open source : de React à Preact, de gzip à la volée à la compression au build time.

📦 J'ai divisé par 5 le poids JS de mon app de poker planning open source.

De React à Preact, de gzip à la volée à Brotli/Zstd au build time.

👉 blog.slashgear.dev/posts/une-petite-histoire-de-compression/

19.02.2026 09:31 👍 13 🔁 8 💬 2 📌 0
Preview
Écrire du Php avec seulement 6 caractères Mais pourquoi ? Pourquoi donc voudrions nous écrire un programme avec une contrainte aussi absurde ?? Parce que l’important n’est pas la destination, mais le voyage… De même qu’une solution de *Code Golf* ou de *Quine* n’a pas pour vocation d’être mise en production, ce challenge est un prétexte pour explorer quelques subtilités de PHP. Idée géniale pour l’obfuscation? Hérésie à ne jamais montrer aux juniors? Accrochez vos ceintures, et venez vous faire une opinion avec ce talk (très) technique et (presque) philosophique !

« Écrire du Php avec seulement 6 caractères », la conférence de @b-viguier.bsky.social à revoir sur le site de l'AFUP

17.02.2026 14:00 👍 1 🔁 2 💬 0 📌 0
Preview
Programming Creatively: Crafting Valid PHP 8 Code Using Only Five Different Characters This article will explore how to be creative with PHP 8 by writing valid code using a minimal number of characters. We'll utilize some of the language's trickiest features like creating arrays from strings, the infinity trick, and Foreign Function Interface to achieve this.

🧠 Extreme constraints = deep #PHP knowledge.

How far can PHP 8 be pushed? In “Mastering PHP 8: Crafting Valid Code with Only 5 Characters”, @b-viguier.bsky.social explores XOR hacks, type juggling, #FFI, and what really happens inside the Zend Engine.

👇
https://f.mtr.cool/rnzasuoogg

#IntPHPcon

23.01.2026 10:50 👍 1 🔁 1 💬 0 📌 0
Preview
Serverless Visually Explained - Get started with serverless today Serverless leaves you confused? Forget the marketing BS and verbose documentation. This course teaches you actual use cases, illustrated with interactive simulations and working code examples.

I created the Serverless Visually Explained course 6 years ago.
It's now free!

If you want concrete JS and PHP examples, with live animations, and no-bullshit explanations on what serverless is, you can click and read.

serverless-visually-explained.com/

19.01.2026 13:02 👍 2 🔁 1 💬 1 📌 0
Post image
02.01.2026 04:05 👍 1329 🔁 172 💬 18 📌 3
Preview
a man in a white shirt is sitting at a table with his hands folded and smiling . ALT: a man in a white shirt is sitting at a table with his hands folded and smiling .
31.12.2025 17:05 👍 1 🔁 0 💬 0 📌 0
Preview
Le grand cycle de la vie (d’une variable) En PHP, pas besoin de se préoccuper de l’allocation mémoire, le ZendEngine gère tout ça pour vous ! Malgré tout, lorsque vous exécutez des processus longs (cron, workers…), il est parfois (trop) facile de consommer beaucoup (trop) de mémoire sans s’en rendre compte… *Garbage collection*, références cycliques, *copy on write*, *WeakReference*… voici un rapide tour d’horizon des pièges et outils à connaître pour optimiser la gestion mémoire de vos programmes.

« Le grand cycle de la vie (d’une variable) », la conférence de @b-viguier.bsky.social à revoir sur le site de l'AFUP

30.12.2025 14:00 👍 1 🔁 1 💬 1 📌 1
Post image Post image

I'm really impressed with the official "What's new in PHP 8.5" page (today's the release of #PHP 8.5 btw!).

It's very well made, great job!

www.php.net/releases/8.5...

20.11.2025 10:35 👍 3 🔁 3 💬 1 📌 0

45 minutes + 5 minutes 😅
Mais c’était un vrai plaisir à écouter! Merci beaucoup pour la présentation, et bon courage pour lundi 😉

09.10.2025 22:06 👍 2 🔁 0 💬 0 📌 0
Preview
A cartoonist's review of AI art - The Oatmeal This is a comic about AI art.

This Oatmeal comic on AI art is one of the better things I’ve seen in the topic.
https://theoatmeal.com/comics/ai_art

07.10.2025 18:56 👍 8 🔁 24 💬 0 📌 0

🚨 PSA for #PHP package maintainers: DO NOT REPLACE tags! If you messed up a release simply do another. No matter how quickly you notice a mistake, automatic tools already pulled the original tag, triggered automatic updates. Users will never know you recreated the tag and use the broken state. #phpc

19.09.2025 09:04 👍 9 🔁 12 💬 0 📌 0
Preview
ReactPhp, Amp, RevoltPhp: comparatif des frameworks asynchrones Depuis la sortie des Fibers en PHP 8.1, le langage a maintenant tout ce qu’il faut pour offrir une expérience développeur fluide pour la programmation asynchrone. Les deux frameworks historiques (ReactPhp et Amp) se sont mis à la page, et leurs équipes ont même collaboré pour développer une implémentation commune (et autonome!) d’*Event Loop*: RevoltPhp. Cette conférence propose un comparatif de ces 3 librairies à travers différents exemples, ainsi que des conseils pratiques pour migrer une application existante. Et si le moment était venu d’optimiser votre application avec la programmation asynchrone ?

« ReactPhp, Amp, RevoltPhp: comparatif des frameworks asynchrones », la conférence de Benoit VIGUIER à revoir sur le site de l'AFUP

16.09.2025 15:00 👍 0 🔁 1 💬 0 📌 0
Meme about a bad drawing lesson that shows 2 circles as first sketch, then on the second step a fully drawn owl, with no in between steps

Meme about a bad drawing lesson that shows 2 circles as first sketch, then on the second step a fully drawn owl, with no in between steps

Sometimes it feels like making software is mostly about convincing people that no, 2 circles don't make an owl, you still need to draw the rest of the fucking owl

12.09.2025 09:44 👍 6 🔁 4 💬 5 📌 0
In the Future All Food Will Be Cooked in a Microwave, and if You Can’t Deal With That Then You Need to Get Out of the Kitchen As a restaurant owner - I'm astounded at the rate of progress since microwaves were released a few short years ago. Today's microwave can cook a frozen burrito. Tomorrow's microwave will be able to cook an entire Thanksgiving Dinner. Ten years from now a microwave may even be able to run the country. Recently I was watching a livestream of a local microwave salesman.

In the Future All Food Will Be Cooked in a Microwave, and if You Can’t Deal With That Then You Need to Get Out of the Kitchen

03.08.2025 20:35 👍 180 🔁 100 💬 9 📌 19

⚠️Petite erreur de logo dans la vidéo

10.07.2025 07:10 👍 1 🔁 0 💬 1 📌 0
Post image

🔒 PHP 8.5 unlocks static function in constant expressions 🎉

✅ Allowed in:
• Default params
• Class constants
• Static props
• Attribute arguments

❌ Not allowed:
• use (...)
• Arrow functions fn()
• $this

Const-safe closures are here 💪

14.06.2025 18:34 👍 11 🔁 5 💬 1 📌 0
Asynchronous Programming in PHP (Published on June 3, 2025 - Version française)

If you're interested in understanding how asynchronous programming works in #PHP, I just wrote this article. I hope you'll find it interesting.
f2r.github.io/en/asynchrone
(version française ici : f2r.github.io/fr/asynchrone)

03.06.2025 17:42 👍 14 🔁 4 💬 6 📌 0
Post image

I've been working on an DBGP (Xdebug) step-debugging TUI. It allows you to step forwards and backwards, shows inline values and has vim-like key bindings. This release includes a macos build.

github.com/dantleech/de...

#php #rust #xdebug

10.05.2025 19:26 👍 1 🔁 1 💬 0 📌 0

What approach do you prefer to maintain code/architecture consistency over the years?

1/ Dictatorship: small core team validates all contributions

2/ Democracy: changes are accepted based on majority agreement

Both have pros/cons, I'm curious to hear some feedback

07.05.2025 06:54 👍 0 🔁 0 💬 0 📌 0
Job details - Deezer Jobs

ℹ️ Opened position at Deezer: Backend Engineer #PHP

www.deezerjobs.com/en/job-detai...

06.05.2025 06:47 👍 1 🔁 0 💬 0 📌 0
Preview
How a 20 year old bug in GTA San Andreas surfaced in Windows 11 24H2 After over two decades, players are now forbidden from flying a seaplane, all thanks to undefined code behavior.

New blog post! A bug in GTA San Andreas lay dormant for over 20 years, until unrelated changes in Windows 11 24H2 triggered it. This is a deep dive into how a simple coding mistake erased all seaplanes from the game and made them completely unusable.
cookieplmonster.github.io/2025/04/23/g...

23.04.2025 13:35 👍 186 🔁 67 💬 3 📌 2
Video thumbnail

🐣 Le CFP de BDX I/O 2025 est ouvert ! 🎉
Tu as jusqu’au 29 juin 23h59 pour proposer ton talk 🗣️
Tech, retours d’expérience, idées originales : on veut tout !

👉 conference-hall.io/bdx-i-o-2025
#BDXIO #CFP #CallForPapers #TechConference

22.04.2025 08:02 👍 24 🔁 16 💬 0 📌 1

Anyone knows if enabling FFI in PHP has any downsides or a performance impact?

18.04.2025 16:05 👍 1 🔁 3 💬 2 📌 0
Offre Dev back confirmé(e) PHP-Symfony - MAPADO.pdf

Mapado recrute un·e dev PHP/Symfony confirmé·e !

🗓️Semaine de 4 jours
📐Stack solide (230 000 lignes de tests)
✨Esprit d’équipe et cadre détendu
📍 Lyon + télétravail

Offre complète : mapado.xyz/php

#PHP #Symfony #Recrutement #Lyon

15.04.2025 12:53 👍 1 🔁 2 💬 0 📌 0
Preview
Back-end Developer (PHP) confirmé(e) - CDI (H/F) - Wecandoo - CDI à Lyon Wecandoo recrute un(e) Back-end Developer (PHP) confirmé(e) - CDI (H/F) à Lyon !

Hello ! On recherche un·e dev Backend expérimenté·e dans mon équipe, pour bosser sur le site wecandoo.fr :)
www.welcometothejungle.com/fr/companies...

14.04.2025 08:27 👍 1 🔁 2 💬 0 📌 0
Post image

I published a small application to compare two composer.lock files. It's built in PHP, but I didn't want to maintain a server. So it's deployed on GitHub Pages and uses WASM.

lyrixx.github.io/composer-diff/

09.04.2025 09:45 👍 25 🔁 11 💬 0 📌 0
Video thumbnail

La courbe de participation à l'enquête 2025 du baromètre des salaires en PHP suit de près celle de 2022, année du record de participation avec +1000 répondant·e·s. Vous aussi, répondez, en quelques minutes et en tout anonymat, pour une enquête qui bénéficie à toute la communauté !
barometre.afup.org

08.04.2025 08:26 👍 1 🔁 2 💬 0 📌 0
A PHP code snippet showing an array with string keys, showing which one will be cast as an int.

A PHP code snippet showing an array with string keys, showing which one will be cast as an int.

Strange stuff and funky PHP things, foreach is casting valid numerical integer strings as a proper int type 🤔

This due to a limitation on how PHP was handling object and array conversion: wiki.php.net/rfc/convert_...

31.03.2025 06:42 👍 0 🔁 2 💬 0 📌 0