ramsey,
@ramsey@phpc.social avatar

Brent Roose has another great write up about what’s new in #PHP 8.4. https://stitcher.io/blog/new-in-php-84

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey "as well as chaining methods on new without additional parentheses"

no cap marking this illegal in my personal code standard. those extra parens are what even make it readable. else it looks like a mess and should not have been done.

naturally, imho.

ramsey,
@ramsey@phpc.social avatar

@bobmagicii Yeah. I’m not sure I’m going to do it without the parens, but there are plenty of folks who want this feature, and other languages support this syntax.

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey its not the first time i marked something like that illegal. 🤣

derp commas were the first one. im not afraid of my diff being one line longer """than it needed to be"""

ramsey,
@ramsey@phpc.social avatar

@bobmagicii That’s chaotic evil!

bobmagicii,
@bobmagicii@phpc.social avatar

@ramsey excited about the html thing and implicit nullable though, i always thought that loop hole was weirdish as i stare at my method declarations being like "does this reallllllly make sense?"

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • mdbf
  • rosin
  • GTA5RPClips
  • everett
  • love
  • Youngstown
  • slotface
  • khanakhh
  • ngwrru68w68
  • kavyap
  • modclub
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • osvaldo12
  • cubers
  • InstantRegret
  • ethstaker
  • Durango
  • tester
  • tacticalgear
  • cisconetworking
  • Leos
  • normalnudes
  • provamag3
  • anitta
  • JUstTest
  • All magazines