Tag: PHP
-

Thaura: Porting Legacy PHP5 and PHP7 Project to PHP8 Part 5
Code profiling tools are everything now. When I was staring at Thaura writing code, it was doing some wild tricks with python and grep and other unix tools that…
-

Thaura: Porting Legacy PHP5 and PHP7 Project to PHP8 Part 4
Continuing the series, more info about altering project internals. I think of this like a caterpillar going into a cocoon, having enzymes totally disintegrate its guts, and then produce…
-

Thaura: Porting Legacy PHP5 and PHP7 Project to PHP8 Part 3
Continuing the series, more info about altering project internals. I got so tired that I stopped blogging. A note to myself read: The main big issues I’ve hit this…
-

Thaura: Porting Legacy PHP5 and PHP7 Project to PHP8 Part 2
Last time it was about updating code. Now it’s about altering project internals. Mid-Project Legacy A long time ago, I decided that the old style include(‘foo_class.inc’) was annoying, and…
-

Thaura: Porting Legacy PHP5 and PHP7 Project to PHP8 Part 1
This document describes how I’m porting a legacy PHP codebase to PHP8.5. The security crisis of October 2026 required porting everything on a legacy website to PHP8, the only…
-
PHP Traits
Just read this. Nice take: https://generalistprogrammer.com/tutorials/php-traits-complete-guide Thinking out loud… tell me if I’m wrong. I’m mulling the idea of using Traits to compose static classes with no state. The…