Checking if array keys are out of order using array_is_list() in PHP 8.1
July 8, 2021 — Working with arrays, there might come a time when you want to check if the array in question is a list or not. So, how does an array qualifies as a “list”?
A blog on PHP, JavaScript, and more
July 8, 2021 — Working with arrays, there might come a time when you want to check if the array in question is a list or not. So, how does an array qualifies as a “list”?
July 7, 2021 — PHP, as a language, is ever-changing and ever-evolving. It’s not a language it was 10 years ago. This is all because the PHP’s core team which has been constantly improving minor things that might not look significant at first glance but when fixed/implemented, can dramatically improve the overall developer experience.
June 30, 2021 — Logging is an integral part of developing applications. And if you’re working with Laravel, logging things is a breeze.
June 29, 2021 — In Laravel, when your queued jobs fail after a job has exceeded the number of attempts, it will be inserted into the failed_jobs
database table (if you have set it up).
June 23, 2021 — Typically, when you send notifications from your Laravel app, the notifications would be attached to the users of your application in most of the scenarios.
June 18, 2021 — When you’re working with numbers in your code, they sometimes become hard to comprehend. For instance, in cases where numbers are too large in terms of length. Take the following for example.
June 15, 2021 — The latest major version of React.js, 18, is around the corner and it will include out-of-the-box improvements (like automatic batching), new APIs (like startTransition), and a new streaming server renderer with built-in support for React.lazy
.
June 15, 2021 — When you work with classes with constructors in TypeScript, the usual way to declare the field variables is like following.
June 13, 2021 — It’s a wrap for Apple’s WWDC 2021 last week. And while a lot of good stuff was released in the event, I, as a web developer, was pretty excited for Safari 15 and its all-new design in the macOS and the iPadOS.
June 9, 2021 — The other day, I was looking for a way to add a custom “Install” button in my Notepad app which is essentially a Progressive Web App (PWA).
Download my eBook
Follow me everywhere