You’ve probably seen `use function strlen` in PHP and shrugged. But here’s the t...
Tideways @Tideways@phpc.social
You’ve probably seen `use function strlen` in PHP and shrugged.
But here’s the twist: in certain cases, it activates a special compiler optimization in PHP that makes some functions significantly faster.
This is your eureka moment! Here’s how it works, when it matters, and how to adopt it easily: https://tideways.com/profiler/blog/compiler-optimized-php-functions?utm_medium=social&utm_source=mastodon&utm_campaign=compiler-optimized-php-functions
#php #opcache #compileroptimization #phptips #webdev #coding #programming #performance