If you are a PHP developer, you might have heard about or worked with Spatie’s Ray, a popular debugging tool that allows you to send debug information from your PHP applications to a desktop app for easy inspection at some point.| Amit Merchant
As every year, we will have the new version of PHP this year too, which is PHP 8.5. It’s the minor version in the PHP 8 line, and the version will be released later this year. Let’s discuss everything that has been added in PHP 8.5 so far.| Amit Merchant
When writing functions or methods in PHP, we often return values that are crucial for the caller to handle. Usually, those returned values need to be consumed. Check the following example.| Amit Merchant
PHP 8.5 is set to introduce a new operator called the pipe operator (|>). This operator allows you to pass the result of one expression as an argument to another expression, making your code cleaner and more readable.| Amit Merchant
About only 2-3 years ago, if you wanted to install PHP on your system, you had to go through a long and tedious process of downloading the source code, compiling it, and then installing it.| Amit Merchant
When you cache a value in Laravel, it’s stored in the cache store (like Redis, Memcached, etc.) and can be retrieved later. This is great since it prevents expensive operations like database queries or API calls.| Amit Merchant
Now with PHP 8.4 out of the box! 🚀"PHP 8 in a Nutshell" is a book that clearly and concisely summarizes all the new and important features of PHP 8 without all the fluff. The book covers all of PHP 8's developer-facing features in a concise format that covers the important nitty-gritty and what you would want in a real-world scenario.The book also covers the newest minor releases, PHP 8.1, 8.2, 8.3, and 8.4, and their features and enhancements.You'll get two nicely structured eBooks in PDF...| Gumroad