Top Tweets for #php86
PHP 8.6 adds a time duration class with helpers for math. It got a quick mention in my video, and I think it'll make a lot of our code easier to read.
#PHP #PHP86 #CleanCode
@dseguy has a fun project to use all the new #php86 features in a script. This is my part. It was based on one of my favorite subjects (state machines), and I had to force a bunch of the new features. :-)
https://t.co/ZfgMLrBuRq
#phpc #programming #coding #techtok
#[\Override] landed for methods in PHP 8.3, and PHP 8.6 extends it to class constants. Rename the parent's constant, and PHP throws an error.
#PHP #PHP86 #Refactoring
PHP is getting a new class for a moment in time: nanosecond-precise, no timezone, leap seconds ignored on purpose. And it can't tell you what time it is.
Also: the regex RFC's callback question is settled.
Full rundown in the first reply. #PHP #PHPInternals #PHP86
PHP 8.6 deprecates is_integer(), is_long(), is_double(), and doubleval(). I grepped my app and found about 150 of them, which was a fun surprise. What's your count?
#PHP #PHP86 #TechnicalDebt
A PHP RFC went to a vote Tuesday, was winning 4 to 1, and its author closed it inside the hour โ over what the one no vote said.
Also: the array_str_contains benchmark came back slower than a foreach loop.
Full rundown in the first reply. #PHP #PHPInternals #PHP86
๐ #PHP 8.6 is scheduled for general availability on November 19, 2026. It is in beta now, with feature freeze on September 22 and RC1 on September 24 #php86 #webdev #opensource
๐งฉ Partial Function Application: call a function with some arguments filled in and get back a closure for the rest. ? marks a single argument, ... stands for all remaining ones, e.g. str_replace(' ', '-', ?). The closure keeps parameter names, types and defaults. The v2 RFC passed 33 to 0
๐ New clamp() function returns a value within min/max bounds and replaces the error-prone min(max()) pattern. Works with any comparable type including strings and #DateTime, throws ValueError if min > max
โฑ๏ธ Time\Duration: a final readonly class for lengths of time with nanosecond precision. Factory methods per unit, arithmetic, comparison operators and ISO 8601 parsing, intended as a shared type for core functions
๐ Readonly properties can now have default values, simplifying get-only interface properties from PHP 8.4. Doc comments can sit directly on function parameters and are exposed via ReflectionParameter::getDocComment()
โก New Io\Poll API unifies epoll, kqueue, event ports and WSAPoll, replacing stream_select() for event loops and #async runtimes
๐งฐ More additions: a built-in SortDirection enum, __debugInfo() on enums, a unified stream error model with StreamException and 50+ error codes, and UriBuilder classes for the URI extension
๐ก๏ธ Secure session defaults for new installs: session.use_strict_mode=1, cookie_httponly=1, cookie_samesite=Lax. #Laravel manages its own session cookies, so most apps are unaffected
๐ https://t.co/zjM2Px0MgS
A PHP RFC went to a vote Friday. By Sunday night its author had pulled it, over one no vote from the person who wrote the policy it broke.
What's left: when a regex fails, is that your bug, or something you catch?
Full rundown in the first reply. #PHP #PHPInternals #PHP86
For the 3rd week running, no PHP RFC is in the voting phase. So one contributor went and scanned half a million PHP files to answer a question nobody had asked out loud: what actually IS a PHP identifier?
Full rundown in the first reply. #PHP #PHPInternals #PHP86
league/csv warnings on the README page are getting bigger on each PHP version upgrade ๐ ๐
#PHP86 #maintenance #CSV @thephpleague

his week in PHP internals: 42 RFC ballots open at once. list() is losing its deprecation vote, a first-time author's pipe operator split the room 8-8, and one vote lasted 18 minutes before its author pulled it. Full rundown below ๐งต #PHP #PHPInternals #PHP86
Last Seen Hashtags on Sotwe
ๅๆฆจๅฅด
Seen from Ecuador
2020kampanya
Seen from United States
ูุญุงุจ_ุงูู
ุบุฑุจ
เธฃเธฑเธเธเธฒเธเธฃเนเธญเธขเนเธญเนเธ
Seen from Thailand
BigBustyStar
Seen from United States
ziyenge
Seen from United States
KateraFan
Seen from United States
thotbitch
Seen from Italy
cargoTrain
Seen from United States
latina
Seen from United Kingdom
Most Popular Users

Elon Musk 
@elonmusk
241.7M followers

Barack Obama 
@barackobama
119M followers

Cristiano Ronaldo 
@cristiano
114.4M followers

Donald J. Trump 
@realdonaldtrump
111.9M followers

Narendra Modi 
@narendramodi
107.2M followers

Rihanna 
@rihanna
98.7M followers

NASA 
@nasa
92.4M followers

Justin Bieber 
@justinbieber
91.8M followers

KATY PERRY 
@katyperry
90M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.4M followers

Kim Kardashian 
@kimkardashian
70.9M followers

YouTube 
@youtube
68.8M followers

Neymar Jr 
@neymarjr
66.4M followers

Bill Gates 
@billgates
65.2M followers

Selena Gomez 
@selenagomez
63.1M followers

The Ellen Show
@theellenshow
62.3M followers

CNN 
@cnn
61.8M followers

X 
@x
60.7M followers








