I created an easy to use API to help businesses do incredible things with AI.
Benjamin Crozat

Page 2

6 ways to check which version of PHP you are running

Discover how to check your version of PHP using phpinfo(), your terminal, Laravel's welcome page, or a Laravel Artisan command.

PHP 8.4: new features and release date

PHP 8.4 is expected to drop on November 21, 2024. Let's review the known new features and changes.

PHP

Matthias Noback explores why refactoring isn't as risky as believed, even without tests. Discover how careful programming can lower risks.

Check out FlappyPHPant, a fun Flappy Bird clone using PHP. It's a great way to learn complex programming concepts through gaming.

PHP
PHP's str_replace() made simple

Manipulate strings in PHP using the extremely useful str_replace() function.

PHP
Enums in PHP: a guide to safer coding

Let's step up your code with a safer way of coding using PHP's Enumerations, or Enums. With this guide, you'll know everything there is to know about them.

PHP
PHP for Mac: get started fast using Laravel Valet

Use your Mac as an ideal PHP environment thanks to the power of Laravel Valet. You can finally say goodbye to Docker!

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!

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.

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.

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.

PHP
Use PHP to leverage OpenAI's API and GPT effortlessly

Improve your projects by leveraging the power of GPT, the famous language model, using PHP and OpenAI's REST API.

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.

PHP
The fastest way to 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.

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.

PHP
Here's the fix to "using $this when not in object context."

Learn why the "Using $this when not in object context" error happens, and let me show you the only way to fix.

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).

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.

The best PHP blogs to read in 2024

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.

PHP
Great deals for enterprise developers
The latest community links
Share a link too →
- / -