As a PHP developer who likes to occasionally dabble in Rust, I find myself missing the developer experience of the format!() ...
Read morePHP
I recently ran into a scenario where I wanted to register a couple of global options inside of a Laravel Zero project. These ...
Read moreThe goto statement – feared, ridiculed, yet still lurking around in PHP. Newer PHP developers probably don't even know that...
Read moretl;dr I wrote a syntax highlighter. It's pretty good and I had a tonne of fun working on it. Preface Syntax highlighting is s...
Read moreSerialisation, or serialization, is a process that takes in a piece of data and generates a storable or transportable represe...
Read moreLet's build a tiny template engine for PHP! This post will focus on rendering the template and echoing out data that can be e...
Read moreI recently released a new PHP package called "Lexical". It provides a set of attributes and objects to build regula...
Read moreIn this mini series, you'll learn how to build your own service container for dependency injection in PHP. I'll start with th...
Read moreAn esolang (esoteric language) is a programming language designed to be used as a joke or test the limits of what can be achi...
Read moreParsing and rendering Markdown as HTML is very common on the modern web. The content found on this very blog is written in Ma...
Read moreNow that we have a basic Rule API setup, we can start to implement some basic analysis rules. We're going to start with a sim...
Read moreIn this shorter part of the series, we'll start to build up an API for our analyser's rules. The idea here is that we want to...
Read moreIn this part of the series, we'll start working on the definition collection process for the analyser. We'll learn about the ...
Read moreIn this new series, I'd like to go over the process of writing a static analyser for PHP in the Rust programming language. We...
Read moreWelcome back to the series. This post is going to be a short one focused on setting up the Rust application and the command-l...
Read moreNewer versions of PHP have introduced some excellent language features that bring it closer to other modern programming langu...
Read moreIf you've ever worked with the Rust language, you've likely run into Option. There is no concept of null or nil in Rust, nor ...
Read morePest has an incredible Expectations API that you can use when writing your tests. It provides a fluent builder pattern for de...
Read moreIf you've not been keeping up-to-date with the latest PHP releases, you might have missed that PHP 8.0 introduced a new match...
Read moreBefore we begin, this blog posts assumes you already have Highlight.php setup in your application. If you don't already have ...
Read moreWhen you want to use links in your Markdown, you would normally use the following syntax: [Text for the link](https://example...
Read moreI'm a huge fan of Markdown. I use it, literally, everywhere I can. The article that you're reading right now was written in M...
Read moreLots of applications involve date and time manipulation. Whether it's figuring out what day of the week it is, how many secon...
Read moreWhen a customer at Surewise wants to take out a new insurance policy, they can only take one out with a start date within the...
Read more