Page 2 PHP PHP's str_replace() made simple Manipulate strings in PHP using the extremely useful str_replace() function. Jul 5, 2025 0 comments 3 mins PHP Enums in PHP: a guide to safer coding Let’s take one step toward safer code by using PHP’s Enumerations, or Enums. Jul 6, 2025 7 comments 11 mins Laravel PHP Tools PHP for Mac: get started fast using Laravel Valet Learn how to install and use Laravel Valet on macOS with Homebrew, PHP, and Composer to create a fast local PHP environment without Docker. Sep 28, 2025 0 comments 8 mins PHP console.log() in PHP Explore the world of PHP debugging with var_dump(), and Laravel’s friendlier alternatives, dump() and dd(). Much charm, such useful! Aug 10, 2025 1 comment 3 mins PHP Is PHP dead? Usage statistics and market share for 2023. Whether PHP is dead is a matter of numbers, not opinions. I will provide you with essential statistics that will lead you to make better decisions. Dec 22, 2023 0 comments 7 mins PHP PHP try & catch: what are exceptions and how to handle them? Take your code to the next level, thanks to exceptions. Handle errors in a more graceful way within try and catch blocks. Nov 23, 2022 0 comments 4 mins PHP Is PHP dead? Usage statistics and market share for 2022. Whether PHP is dead is a matter of numbers, not opinions. I will provide you with essential statistics that will lead you to make better decisions. Jun 18, 2023 0 comments 3 mins Artificial Intelligence GPT PHP openai-php/client: leverage OpenAI's API, effortlessly Improve your projects by leveraging the power of GPT, the famous language model, using PHP and OpenAI’s REST API. Nov 7, 2023 3 comments 10 mins PHP PHP 8.3 is out, now! Here's what's new and changed. PHP 8.3 was released on November 23, 2023, and as usual, you need to be up to date with new features and breaking changes for easier transitions. Jan 1, 2024 1 comment 13 mins PHP Check if your PHP array is empty There are multiple ways to check if an array is empty. Let me tell you about each of them and why and when you should use them. Jul 10, 2025 0 comments 3 mins PHP Methods with the same name as their class will not be constructors in a future version of PHP Learn why and how to fix “Methods with the same name as their class will not be constructors in a future version of PHP” warnings. Nov 23, 2022 2 comments 1 min Laravel PHP Print an array with PHP (+ Laravel) Debugging requires dissecting everything. Here’s a list of all the one-line built-in ways to print arrays in PHP (and even Laravel-specific helpers). Jun 24, 2023 0 comments 2 mins Laravel PHP Fix "Invalid argument supplied for foreach" in PHP & Laravel Learn why the “Invalid argument supplied for foreach()” warning happens, and let me show you multiple ways to fix it. Nov 23, 2022 0 comments 2 mins PHP Fix "using $this when not in object context" now Learn why the “Using $this when not in object context” error happens, and let me show you the only way to fix. Jul 9, 2025 0 comments 3 mins PHP The best PHP blogs to read in 2025 To keep getting better with PHP, you should subscribe to as many quality blogs as possible. In this article, I share the ones I often read myself. Jun 29, 2025 0 comments 4 mins Showing 25 to 39 of 39 results ← 1 2 →