« first day (4948 days earlier)   
05:00 - 22:0023:00 - 00:00

5:21 AM
So, I found a PHP book at a Japanese bookstore that's styled like a manga and... by skimming through it, it seems pretty good. It touches on SOLID, DI, TDD and other stuff...
I, of course, bought it.
I was giddy to see stuff like match statement and constructor property promotion
 
 
2 hours later…
7:30 AM
@LeviMorrison It's actually fewer than I expected, but of course this doesn't going the cases where the error handling was rewritten to avoid the NULL check entirely, e.g. by duplicating code, like you remarked for the array_find PR. And I'm also not sure if Coccinelle accurately identified all locations or whether it choked on some Macro-based syntax:
@@
zend_string *s;
@@

  if (s != NULL) {
* zend_string_release(s);
  }
@bwoebi free()-style functions are the exception for me, due to the common pattern of NULL-ing the freed pointer and also for goto-based error handling that requires less code duplication than copying them into each place where a function may return like PHP does not usually.
For HAProxy we even have a ha_free() function that takes a pointer to the pointer and includes the NULL-setting to keep the code even cleaner :-D
 
 
6 hours later…
1:37 PM
0
 
 
6 hours later…
7:19 PM
@TimWolla I used to do this, but then we got sanitizers. I prefer to get a use-after-free and know what was there than just get a NULL ptr issue.
 
 
2 hours later…
9:15 PM
What are some of the biggest PHP conferences in US post-covid? Anyone know?
 
9:28 PM
@iansltx can answer that
 
If you ignore framework/CMS specific stuff, there are only two in-person PHP conferences in the US right now.
PHP[Tek] just happened (185ish attendees from what I heard, up from 150ish last year). Longhorn PHP was 150 last year, down from 200osh the year before you because people had other confs to go to.
This year Laracon is in Dallas and it felt a bit silly to have both Laracon and Longhorn in the same state because there's significant overlap in attendee bases, so CascadiaPHP is coming back instead. They're expecting 150ish attendees, so that means Tek will be the biggest PHP conference in the US this year. Unless you count Laracon, which should be bigger than both of those two combined.
Cakefest was in the US last year, but isn't this year. DrupalCon is back in Portland this year but isn't realy a PHP conference, even though when I went there when they were in Austin they had a PHP/Symfony track IIRC.
 
05:00 - 22:0023:00 - 00:00

« first day (4948 days earlier)