Engineering,
taught
&
leadership,
practised.
I'm Steven — CTO at Digitonic, a PHP engineer since 2010 and a keen golfer with a terrible handicap. This is where I write it all down.
Latest from the journal
Choosing Jev Confidence Thresholds in Laravel: Tune Them From a Labelled Sample, Not a Guess
Every Jev tutorial tells you to act above 0.9. None of them say where 0.9 came from. Here is the artisan command that derives your number from a hundred labelled rows.
spl_object_hash, is_integer and Friends: Clearing PHP 8.6's Deprecated Aliases from Laravel
Most of PHP 8.6's deprecated aliases are a find-and-replace. spl_object_hash() is not — swapping it for spl_object_id() changes a lifetime guarantee that some code quietly depends on.
PHP 8.6 Deprecates mbstring Regex: Moving mb_ereg and mb_split to PCRE in Laravel
PHP 8.6 deprecates all sixteen mbstring regex functions because Oniguruma is unmaintained. Here is the PCRE equivalent for each one, and the three places the swap is not like-for-like.