Blog

  • Enhancing Code Reliability with PHP’s `in_array()` Function: A Deep Dive into Strict Type Comparison

    Enhancing Code Reliability with PHP’s `in_array()` Function: A Deep Dive into Strict Type Comparison

    PHP’s in_array() function is a versatile tool for searching values within an array. By default, it performs a loose comparison, which can sometimes lead to unexpected results. However, this blog post aims to shed light on the often overlooked third boolean argument of in_array(), which allows for strict type comparison. We’ll explore the benefits and potential drawbacks of using strict type comparison with in_array() and demonstrate how it can enhance code reliability.


  • Optimizing MySQL Queries for data synchronization script

    Optimizing MySQL Queries for data synchronization script

    Today I’d like to share with you an episode of MySQL queries optimization. Deploying an application that grows over time implies some […]


  • Using composer with unpublished packages

    Using composer with unpublished packages

    Want to test your hashtag#php packages before you publish them on hashtag#Packagist? Or are you using hashtag#private repositories for your hashtag#packages and still want to use hashtag#Composer to manage them as hashtag#dependencies? Here is a detailed approach on how you can achieve this.


  • S6 v3 for PHP (+ Caddy/Nginx)

    Have you tried to setup an S6 supervisor for the official PHP Docker image, just to realize that something does not work […]


  • PHP is DEAD!

    Why You Should Use PHP in 2019? Before we start… PHP stands for Hypertext Preprocessor, and it is a general-purpose, free and […]