Scott Keck-Warren
Scott Keck-Warren
@scott.keck-warren.com
Director of Technology at WeCare Connect, published author, podcast host, conference speaker, consultant, and producer of education content for web application developers. He's been a professional PHP developer, DevOps engineer, and team lead.
243 followers45 following520 posts
HTTP 402 Payment Required sat unused for decades. Paul Conroy is putting it to work. On the latest Community Corner, we talked about AI agents that buy things for you. https://www.phparch.com/podcast/community-corner-podcast-agentic-commerce-with-paul-conroy/
Myth: PHP lives on a Linux box behind Apache and nowhere else. I still picture it that way too, and I write PHP every day. My October php[architect] column is about all the places I keep finding it now. https://www.phparch.com/article/2026-10-community-corner/ #PHP #PHPC #WebDev
#ClaudeCode's 5-hour window starts with your first message. Start at 9, and your reset lands around 2 (right in the middle of deep work). I schedule a "hi" prompt so the reset falls at lunch. https://scott.keck-warren.com/blog/2026/say-hi-to-claude-code-for-better-alignment #AI #DevProductivity
@vehikl.bsky.social Thank you for supporting @longhornphp.com and everything else in the community!
Thank you @packagist.com ! I've been enjoying the unlimited Diet Dr. Pepper.
Thanks to @packagist.com for sponsoring the all-day beverage service for Longhorn PHP 2026! It's been well appreciated!
Scott Keck-Warren reposted
Thanks to @packagist.com for sponsoring the all-day beverage service for Longhorn PHP 2026! It's been well appreciated!
I wanted to test my PHP 8.6 code samples without putting a beta PHP on the laptop I use every day. https://scott.keck-warren.com/blog/2026/running-php-8.6-beta-cli-in-docker?utm_source=social&utm_medium=social&utm_campaign=scottkw&utm_content=2026-10-07 #PHP #PHP86 #Docker
I've written SO many string transformations full of temp variables and fn() wrappers. PHP 8.6's partial function application plus the pipe operator gets rid of both. #PHP #PHP86 #CleanCode https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
#PHPC tip: PHP 8.6 lets you put `#[\Override]` on class constants. Rename the parent constant, and the child fails at compile time instead of drifting into a separate, unused constant. Video: https://youtu.be/U9Jrcg1Ns1k #PHP #PHP86 #CleanCode
PHP 8.6 lands on November 19th, 2026, but you don't have to wait. I recorded my walkthrough on beta 3 with the official Docker image (php:8.6.0beta3-cli), so test your app now. #PHP #PHP86 #Docker https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
Have you ever hit this fatal error? In PHP 8.6, that line works. What did you do to get around it? Video: https://youtu.be/U9Jrcg1Ns1k #PHP #PHP86 #phparch
My PHP 8.6 video covers the features I think will make my personal life better. Which one should I have covered instead? #PHP #PHP86 #phpc https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
What does the `1` mean in the first call? PHP 8.6 adds a `SortDirection` enum to the core. The pull requests I approve fastest are the ones where I never have to open another file to understand an argument. Video: https://youtu.be/U9Jrcg1Ns1k #CareerDev #PHP #PHP86
Partial function application is a fancy computer science term for setting up a function with some of its parameters now and passing the rest later. PHP 8.6 makes it native syntax. #PHP #PHP86 #FunctionalProgramming https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
#PHPC tip: PHP 8.6 adds `clamp()`, so the two-`if` range check goes away. Swap min and max, and PHP throws a `ValueError`. Video: https://youtu.be/U9Jrcg1Ns1k #PHP #PHP86 #CleanCode
Two new symbols to learn in PHP 8.6: ? is the argument placeholder, and ... means zero or more parameters. Define the function up front and fill in the rest later. #PHP #PHP86 #FunctionalProgramming https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
#PHP8.6 deprecates `is_integer()`, `is_long()`, `is_double()`, and `doubleval()`. I ran this grep against my app directory and found 150 "problems". Every call will fill your logs with deprecation notices the day you upgrade. Video: https://youtu.be/U9Jrcg1Ns1k #PHP #PHP86 #phparch
Pair the PHP 8.5 pipe operator with PHP 8.6 partial function application and you get some VERY concise code (and I expect Rector to help convert the old stuff). #PHP #PHP86 #CleanCode https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/