The Blog

PHP

PHP

Implementing a Customer Domain Specific Language Parser in PHP

John Koster
John Koster
February 15, 2021

Implementing a custom domain specific language parser in PHP, from scratch. Our language parser will parse a custom query filter language.

PHP

Xdebug and var_dump

John Koster
John Koster
July 13, 2015

If you are using Xdebug with PHP and are using the var_dump function it is important to note that Xdebug will limit var_dump 's depth when dumping information ...

PHP

PHP Slow Response Times

John Koster
John Koster
February 1, 2015

Microsoft .NET Framework Download Locations

PHP

Lambdas And Closures

John Koster
John Koster
June 25, 2014

Some intermediate to veteran developers will recognize the anonymous function, or lambda function (a function without a name) that we are passing to the get ...

PHP

Passing Data to PHP Anonymous Functions

John Koster
John Koster
October 29, 2013

PHP version 5.3 introduced a new feature called anonymous functions, or lambda functions. They allow for greater flexibility and offer a clean, expressive ...

Latest posts

That Escalated Quickly: All the New Things

The past six months or so have been incredibly busy. What started as a new article series about cust...

Read more
Troubleshooting a Statamic Illegal Offset Type Error when Viewing Collection Entries in the Control Panel

In this post I talk about how I resolved a mysterious illegal offset type error when viewing collect...

Read more
Creating Simple HTTP Redirect Routes from a Statamic Site

Generating a custom Laravel routes file from a Statamic website to redirect to a new domain.

Read more
Disabling Vite File Hashes

Disabling file hashes in Vite output can be accomplished by modifying your project's vite.config.js

Read more
Implementing a Custom Laravel Blade Precompiler for Volt and Livewire

Learn how to implement a custom component compiler for Laravel's Blade templating language in this p...

Read more
Creating a Hybrid Cache System for Statamic: Part Five

Part 5 of 6 covers implementing a cache namespace and labeling system, which we can use to target mu...

Read more