Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-16 02:43:08 EDT

PhotosVideosAllPeople
LatestRanked
@scott.keck-warren.comOct 7, 2026, 11:11 AM

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/

@scott.keck-warren.comOct 6, 2026, 11:17 AM

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/

@scott.keck-warren.comOct 5, 2026, 11:20 AM

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/

@scott.keck-warren.comOct 4, 2026, 11:18 AM

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/

@scott.keck-warren.comOct 3, 2026, 11:08 AM

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/

@scott.keck-warren.comOct 2, 2026, 11:19 AM

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/

@scott.keck-warren.comOct 1, 2026, 11:05 AM

I've handwritten min/max range checks for the current page number more times than I can count. PHP 8.6 adds clamp(), and I might polyfill it in older projects.

#PHP #PHP86 #CleanCode

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@scott.keck-warren.comSep 30, 2026, 11:13 AM

PHP 8.6's clamp() has a built-in range check, so you can't mix up the min and max values. I've done that more than once, so I'm VERY happy about this one.

#PHP #PHP86 #CodeQuality

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@scott.keck-warren.comSep 29, 2026, 11:09 AM

array_multisort() takes SORT_ASC/SORT_DESC as ints, so 42 gets right through. PHP 8.6 adds a SortDirection enum in the global namespace, and the RFC hints at wider adoption.

#PHP #PHP86 #TypeSafety

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@scott.keck-warren.comSep 28, 2026, 11:01 AM

In PHP 8.4, fulfilling an interface property meant redefining the whole property hook. PHP 8.6 lets a readonly property do it and keeps the class much tighter. Big win for value objects.

#PHP #PHP86 #OOP

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@scott.keck-warren.comSep 27, 2026, 11:13 AM

When people say PHP isn't secure, I point them to how every release improves security a little bit. PHP 8.6 makes sessions secure by default (check your SSO and payment callbacks before upgrading).

#PHP #PHP86 #AppSec

https://www.phparch.com/2026/09/stop-writing-php-like-this-8

@scott.keck-warren.comSep 26, 2026, 11:11 AM

PHP 8.6 adds a time duration class with helpers for math. It got a quick mention in my video, and I think it'll make a lot of our code easier to read.

#PHP #PHP86 #CleanCode

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@scott.keck-warren.comSep 25, 2026, 11:09 AM

#[\Override] landed for methods in PHP 8.3, and PHP 8.6 extends it to class constants. Rename the parent's constant, and PHP throws an error.

#PHP #PHP86 #Refactoring

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@scott.keck-warren.comSep 24, 2026, 11:15 AM

PHP 8.6 deprecates is_integer(), is_long(), is_double(), and doubleval(). I grepped my app and found about 150 of them, which was a fun surprise. What's your count?

#PHP #PHP86 #TechnicalDebt

https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/

@michabbb.bsky.socialSep 16, 2026, 2:43 PM

๐Ÿ˜ #PHP 8.6 ships November 19, 2026. Beta now, feature freeze September 22, RC1 September 24 #php86 #webdev #opensource ๐Ÿงต๐Ÿ‘‡