
2025-07-25 21:48:09
Traits in #PHP are a limited purpose tool, but they do have a purpose.
https://www.garfieldtech.com/blog/beyond-abstract
All about the new pipe operator in PHP 8.5:
#PHP
More than 50% of all websites run with #PHP, but some douchebags still say "and more." Crazy...
⚡ Huge time saver for #PHP developers looking to streamline debugging sessions. No more getting stuck in third-party code - focus directly on the parts that matter for your application
🔧 Powerful feature demonstrated by Derick Rethans shows real-world workflow optimization. Perfect for complex debugging in large applications with extensive dependencies and framework code
Dear god I hate stateful services. Please, people, stop writing stateful service objects. You're just making more work for everyone.
#PHP
I hate it when I get a great idea for how to rewrite a library I've already written, but way better.
#PHP #Programming
The PHPStan elePHPants arrived today 🎉 ! Well done @…!
#PHP #ElePHPants
It's 2025. If your library still doesn't have types in it (parameter, return, and property), I assume it's abandoned and I should not use it.
There are no exceptions to this statement. Not typing your PHP code in 2025 is irresponsible. No, docblocks are not good enough.
#PHP
Who do I have to buy a giant coffee for so that this crap that’s been around for three million years finally gets fixed? 🤔 🍵 😏
In #PHP, you can use both elseif and else if - except when you use the alternative control structure syntax (: ... endif;), where ONLY elseif works.
Why does it have to be so inconsistent and confusing?
Wouldn’t it be great if PHP just picked one way t…
When should you use #PHP Enums, and when shouldn't you?
https://peakd.com/hive-168588/@crell/on-the-use-of-enums
OH: "writing test isn't fun. But gotta say, kinda really helps with my anxiety."
#programming #PHP
That awkward moment when you spend 2 hours writing code without running it, then try to run it... and it works perfectly.
I'm scared...
#PHP
Advanced PHPUnit Data Provider shenanigans. #PHP
Part 1: https://peakd.com/hive-168588/@crell/fun-with-phpunit-data-providers
Part 2:
#Coroutines in #PHP: Functions That Can Pause and Resume ⏸️
🔄 #Generators provide asymmetric, stackless coroutines - can pause execution with yield keyword and resume with next() method…
I benchmarked #PHP's native serializer vs code export. You won't believe what I found!
https://peakd.com/hive-168588/@crell/benchmarking-serialization
#PHP 8.1 calls, it would like it's credits back 🤣 https://social.skrasek.us/@hunter/115119499683395147
Seriously, who decided that "request," "response," and "result" should all begin with the same two letters? Damnit, English, could you spare *one* second for folks trying to write HTTP handling logic?
#Programming #PHP
Dammit #PHP: zend_mm_heap corrupted
My daughter (1) decided to play with my #ElePHPants...
#php
oh, i almost forgot:
- #PHP is great
- #JSON schema validation is great: https://github.com/opis/json-schema
I've been an #eBay #developer for 20 years, yeah, a long time 😏
I am working on a #Amazon Lister - build from scratch with
Today I would very much benefit from extension functions in #PHP...
Pet peeve: In the process of making your library "simple" to setup or demo, you also make it difficult/impossible to use cleanly in a DI-based system.
Pet peeve: In the process of making your library DI-friendly, you make it so complicated that it's practically unusable outside of a pre-configured framework.
Come on, #PHP. We can do better than this. We *can* have this cake an…
another #jetbrains giveaway
#phpstorm #php #coding
What's the preferred easy-to-use benchmarking tool these days for testing full HTTP responses? I know ab (apache bench), but it's also very old so I assume there's a new favorite.
This is for mostly informal tests, so ease of use > capability. Must run on Linux CLI.
#PHP
#claudecode max subscription is so damn worth the money !!!!!
created 188 custom phpstan rules 😤
- step 1: run 10 agents in parallel to create them (opencode with grok-coder)
- step 2: verify with trigger files
- step 3: let claude/gemini/codex check everything
#php…
#ClaudeCode #SDK for #PHP - Streamlined AI coding assistance integration 🚀
🔌 Stream #Claude …
Seriously, why has the PHPStorm/IntelliJ Markdown plugin been broken for so many years? I don't want a preview, the settings all day to just show me the editor, so it shows me only the preview for README.md, and split-screen for anything else.
WHY? HOW is a company with JetBrains' engineering prowess not able to fix this, years after I first encountered and reported it? As have many others?
#PHP
#Laravel #Livewire 4: The Future of #PHP Components 🚀
🔧 Single-file components with native #JavaScript