Modernizing PHP’s String-Comparison Functions Every PHP developer has written if ($a === $b) and patted herself on the back, since this is much better than if ($a == $b). Most of the time, that’s the right answer. Then, a little change comes to the requirements: can you find users whose names are like “Smythe”?. And […]
Partial Function Application in PHP 8.6 use cases Here is a classic PHP line: It could be possibly shortened with a string, but that would look like so PHP 4 that this post starts with an arrow function. It is short, the intent is clear, and not so recent PHP versions made it cheap to […]
How to lint PHP code within the source Ahead-of-time languages check a closed world. Compile a Rust crate, a Go module, a C project with two functions named parse_config, and you never get to run anything at all: the compiler builds the whole symbol table before it hands anything to a linker, and a duplicate […]



