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
Stop Base64-ing Your Uploads: Sending Images to Jev as Multipart Parts from Laravel
Base64 makes every Jev image a third bigger and holds four copies of it in PHP memory. Multipart parts fix both, and Laravel's HTTP client builds them in two calls.
£20–£50 and Other Things PHP Could Not Format: IntlNumberRangeFormatter in 8.6
Every pricing page glues two formatted numbers together with a hyphen. PHP 8.6 finally has a stdlib answer, and it knows things about locales that your helper does not.
return Inside finally Is Deprecated in PHP 8.6, and Your Laravel Cleanup Code Probably Does It
PHP 8.6 emits a deprecation for every return inside a finally block. The notice is not pedantry — it is pointing at code that has been swallowing exceptions for years.