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-10 01:38:52 EDT

Explore

PostsPeople
LatestRanked
@scott.keck-warren.comOct 8, 2026, 1:16 PM

Myth: magic methods make code easier to maintain because there's less of it.

It's shorter code, but your IDE, PHPStan, and the next developer can't see what exists. Make sure you declare the properties.

#PHP #CleanCode #PHPC

@scott.keck-warren.comOct 6, 2026, 1:02 PM

#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

@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 3, 2026, 1:12 PM

#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

@thephpf.bsky.socialSep 30, 2026, 7:30 PM

Applications for The PHP Foundation contractors for 2027 are now open! We are looking for help in certain areas but we are open to your ideas as well. Application period ends on October 20, 2026. Apply now! thephp.foundation/blog/2026/0...

#phpc #php

screenshot of the php source code from github
@scott.keck-warren.comSep 30, 2026, 1:03 PM

#PHP86: Partial Function Applications, which allow us to write the following.

The `?` is an argument placeholder, so `str_replace('Scott', 'Alice', ?)` builds a function with the first two arguments, and the pipe puts the value in '?'

Video: https://youtu.be/U9Jrcg1Ns1k

#PHP #PHPC #PHP86 #phparch

@scott.keck-warren.comSep 29, 2026, 1:13 PM

#PHPC tip: PHP 8.3 added `json_validate()`, so you can stop decoding a payload just to find out whether it parses.

It skips building the object graph, so a large webhook body costs you a parse instead of a parse plus the memory.

#PHP #PHP83 #CleanCode

@packagist.comSep 29, 2026, 8:05 AM

Packagist turns 15, with more than 200 billion package installs 🎉

How Composer and Packagist started, 15 years of milestones, recent growth, and our plans for supply chain security and funding.

blog.packagist.com/15-years-of...

#php #phpc #composerphp

@thephpf.bsky.socialSep 28, 2026, 7:19 PM

Community events are the lifeblood of the PHP ecosystem. We are happy to launch the Community Events Coalition SIG to help keep these crucial pieces of our community thriving. Read more: thephp.foundation/blog/2026/0...
#php #phpc

image depicts a group of people wearing lanyards and badges underneath outdoor lights talking and laughing. Photo by Samantha Gades on Unsplash.
@scott.keck-warren.comSep 25, 2026, 11:51 AM

@dseguy has a fun project to use all the new #php86 features in a script. This is my part. It was based on one of my favorite subjects (state machines), and I had to force a bunch of the new features. :-)

github.com/dseguy/phpen...

#phpc #programming #coding #techtok

@scott.keck-warren.comSep 24, 2026, 4:14 PM

@longhornphp is one of my favorite #phpc #conferences (I'm paying out of pocket for my ticket, hotel, and airfare to go), and they need your help. Get the word out, please!!!

longhornphp.com/2026-future-...

#php #coding #austintx

@packagist.comSep 24, 2026, 3:50 PM

We're super excited for #SymfonyCon 2026 in Warsaw Nov 26-27 and happy to sponsor again! A must-go for anyone working with PHP and #Symfony. Great content, fantastic people. Now more than ever: educate yourself and keep up with ecosystem & tech in general.

#php #phpc #composerphp

@scott.keck-warren.comSep 23, 2026, 5:00 PM

My video/article on what's new in #php86 is ready for you to watch/read.

www.phparch.com/2026/09/stop...

#phpc #php #coding #webdev

@scott.keck-warren.comSep 22, 2026, 1:19 PM

#PHPC tip: I keep reaching for match(true) when an if/elseif ladder exists only to pick a value.

Every arm is a boolean condition, and the first true wins. It uses strict comparison, and it throws an error when nothing matches unless you give it a default.

#CleanCode

@thephpf.bsky.socialSep 10, 2026, 6:55 PM

Strategy Document: thephp.foundation/blog/2026/0...
PHPC Discord: discord.phpc.social/ (find us in the-php-foundation channel)

#php #phpc #pqc #cryptography