PHP

The Great CSS Expansion

A comprehensive look at how new CSS features are replacing JavaScript libraries. Anchor positioning, the Popover API, scroll-driven animations, view transitions, customizable selects, and more. The article estimates around 322 kB of JavaScript that can Read more…

By hadi, ago
PHP

Why use static closures?

A clear walkthrough of how PHP closures implicitly capture $this, even when they don’t use it, and how that can prevent objects from being garbage collected. Also covers what PHP 8.6 will change with automatic Read more…

By hadi, ago