Systems | Development | Analytics | API | Testing

PHP

Tideways 2023.2 Release

Since our last release announcement in April we have been working on a number of new features for Tideways that we are now happy to share with you. This is the second and final release for 2023. From here the team will be looking ahead to 2024, the 10th anniversary of Tideways’ launch, and preparing some amazing new features and improvements.

PHP 8.3: Let's discuss the new features!

The PHP project publishes a new major or minor version of PHP at the end of each year. The authors announce a feature freeze around six months before the release; in the meantime, there's a flurry of activity as developers lobby for adoption of language modifications with every new release. PHP 8.3 is releasing its new features on November 23 of this year. Like every time, they have included some amazing additions this time as well.

A comprehensive guide to handling dates and times in PHP

From accurately tracking the opening and closing of financial markets to preserving the history of posts and research papers by properly saving the times they were created, edited, and deleted, software engineers must understand how to handle dates and times in their applications. The concept of dates and times is especially important in programming. All programming languages enable developers to manage dates and times in their applications.

Declaring check-ins in PHP/Laravel config

If your cron job fails in a forest, and nobody is around, does it make a sound? Honeybadger's check-in monitoring for PHP/Laravel gives you peace of mind, knowing that if any job fails, whether it's your billing cron job, your nightly backup, or even that third-party service's new integration, it won't happen silently. Instead, we'll notify you instantly via the tools you already use (Slack, PagerDuty, etc.).

PHP Try Catch: Basics & Advanced PHP Exception Handling Tutorial

When PHP version 5 was released, it incorporated a built-in model to catch errors and exceptions. Handling errors in PHP with try catch blocks is almost the same as handling errors in other programming languages. When a PHP exception is thrown, the PHP runtime looks for a catch statement that can handle that type of exception. It will continue checking the calling methods up the stack trace until a catch statement is found.

The PHP stat cache explained

90% of the time when I explain how the stat cache works in PHP, people are surprised because they expected it to work differently. It was invented to solve a very limited problem when you call several file system related operations on the same file in quick succession. Why should you know how it works? Because sometimes you need to work around the cache with the clearstatcache() function to get PHP code to run without errors.

Xdebug for PHP Developers: Advanced Debugging Made Easy

Debugging can be a challenging task for any programmer, and PHP developers are no exception. With the complexity of web applications and the ever-increasing demands on software development, debugging PHP code can be a time-consuming process. But what if there was a way to streamline the debugging process and make it more efficient and effective?

How to Load Test Your PHP Website

Hey there! Ever had a website crash on you during a big sale? Or noticed your site becoming tortoise-slow when traffic picks up? That’s precisely why we need to talk about load testing, especially for PHP websites. This article is perfect for business owners, software engineers, product owners, and DevOps. Don’t worry; I’ll break it down in a way everyone can understand.

Display All PHP Errors: Basic & Advanced Usage

A PHP application might produce many different levels of warnings and errors during its execution. Seeing these errors is crucial for developers when troubleshooting a misbehaving application. However, many developers often encounter difficulties displaying errors in their PHP applications, leading to silent app failures.