Category: PHP

  • Do the slow work after the page is sent: WordPress’s shutdown hook

    Logging, counters and analytics do not need to happen while your visitor waits. How the WordPress shutdown hook (and fastcgi_finish_request) moves that work out of the critical path – with real code, and the cases where you should not do it.

  • Everyday Efficiency: PHP 8 Techniques for WordPress Engineers

    As a software engineer navigating the daily challenges of WordPress development, embracing the latest tools and tricks is essential to staying efficient and effective. In this post, I want to share three PHP 8 tricks I incorporate into my everyday tasks as a software engineer working on WordPress projects. When PHP 8.0 was released, I…

  • PHP 8.0 – 4 new features in this latest version

    PHP 8.0 – 4 new features in this latest version

    New PHP major versions are always very expected by PHP developers, we already know good things coming when a new release is announced. This time we have a lot of performance improvements and new features that improve our code, using modern programming methods in a badass old-school language. Besides those new features and recommendations, I…