2025-12-05 22:05:09
I'm not 100% sure this is the right way, but I sure didn't have “Contribute to the php.net web site" on my 2025 bingo card, and yet…
/cc @…
#PHP
I'm not 100% sure this is the right way, but I sure didn't have “Contribute to the php.net web site" on my 2025 bingo card, and yet…
/cc @…
#PHP
Using #PHP arrays as pseudo-objects is almost never the right answer. They're less self-documenting, slower, worse on memory, and more bug prone.
https://peakd.com/php/@crell/php-use-a
RE: #PHP ist so weit abgerutscht?
Was ist denn heute bei Web
Advanced PHPUnit Data Provider shenanigans. #PHP
Part 1: https://peakd.com/hive-168588/@crell/fun-with-phpunit-data-providers
Part 2:
Quick and easy #PHP code generation testing.
https://www.garfieldtech.com/blog/code-generation-testing
Ran into this little quirk of (many) C-syntax languages, yesterday. Hadn't seen it before.
#PHP
```
<?php
function getApiData() {
https://example.org/api
return file_get_contents("
stscoundrel/struct: Structs for PHP. Simple data transfer objects. Supports immutability.
#php
I currently have 4 in-flight RFCs for PHP, and one more I'm trying to launch soon. I'm not actually paid for any of this.
I think I may be the problem...
#PHP #OpenSource
Don't miss our Christmas meetup on December 11th, featuring talks about #HTMX and the latest updates on #PHP 8.5!
Sign up here: https://www.
Let's be controversial: In modern #PHP, you should never type-hint an array.
https://peakd.com/php/@crell/php-never-type-hint-on-arrays
Queens of #PHP, from sometime in the '00s.
@… @…
(Not sure Laura is on here, and I haven't talked to Dhwani in… at least 15 years…
What in the #PHP?
RE: #PHP d…
In May, I'll be giving what will probably be the first ever PHP 8.6 talk: Piping Hot PHP.
8.5 isn't even cool yet, but 8.6 already has some hot new features. Combining 8.5's pipe operator with the new partial function application capabilities in 8.6 should give us a whole new way to think about structuring code!
Want to be the first to see the future? Get your tickets to #phptek
There's no such thing as $_PUT in #PHP . One must fake it
$_PUT = array();
parse_str(file_get_contents('php://input'), $_PUT);
Freshly built images, same issue. #PHP 8.4 image output should be the same as PHP 8.5 output:
RE: #php
Bypassing #PHP visibility controls. Please don't do this often.
https://www.garfieldtech.com/blog/phptricks-access-control-bypass
#hitcounter #webcounter #webdev #php
UPDATE: the
#PhpStorm 2025.3.2 is now available 👀
#php
https://youtrack.jetbrains.com/article
#phpugmrn meetup on Dec 11th - save the date!
We have scheduled talks abot HTMX & PHP 8.5. Do not miss!
Sign up here: https://www.meetup.com/phpug-rhein-neckar/events/30547833…
I dare you to build a website with plain #php, json markdown and csv. No sql, no laravel, no twig
New Year, Same Job Search.
If you are looking for a Staff/Principal level #PHP developer, with a long history of helping both projects and teams update and modernize to become more robust and reliable, look no further because you've found him! I've worked on multiple major OSS projects, including PHP itself.
US-based, remote-only, plenty experience working for non-US companies as we…
RE: #php
Using #PSR-3 placeholders properly in #PHP (and other awesome alliterations).
https://peakd.com/hive-168588/@crell/u
Traits in #PHP are a limited purpose tool, but they do have a purpose.
https://www.garfieldtech.com/blog/beyond-abstract
Null is problematic, but why? Let's see why, and let that guide us to new alternatives. #PHP
https://peakd.com/hive-168588/@crell/much-ado-about-null