How do you keep track of your #PHP test groups? When I want to add one there's no convenient way to determine what ones already exist. Thinking of creating an Enum to hold them, but maybe that's overkill.


Will
@ides
Short Stack Developer 🥞 Trying to make computers do what I ask, and do other stuff good too 🖥️
• 7 Posts • 118 Views
After a decade as a full-time PHP developer, how have I never come across 'yield' before!?
ides.dev/notes/discovering-php-yield-keyword
Back last year, I wrote an article about Laravel interview questions. Since then I’ve added another question to my list; can you explain the difference between hashing, encrypting and encoding?
ides.dev/notes/hashing-encrypting-encoding
Here's the original article;
ides.dev/notes/laravel-interview-questions
Have you experienced The Swamp of Negative Utility? I’ll bet there are lots of examples of it out there. Let me know of any you’ve had to put up with: ides.dev/notes/the-swamp-of-negative-utility
Had to take a look at a vanilla PHP application I wrote ten years ago, that’s still running in production, because it’s having some “performance issues”. Honestly, I’m amazed it lasted as long as it did. Turns out that to show the first ten results of a search it loads *all* 33k records, and stores them *in the session*. Time to teach past Will about the wonders of LIMIT and OFFSET.