We’re throwing a release party at PHP Rotterdam, and you’re invited!
Expect PHPun, knowledge-sharing, and great company at Last Mile Solutions!
eventy.io/events/q8lmw...
#PHP #PHP85 #Community #Rotterdam #Developers
We’re throwing a release party at PHP Rotterdam, and you’re invited!
Expect PHPun, knowledge-sharing, and great company at Last Mile Solutions!
eventy.io/events/q8lmw...
#PHP #PHP85 #Community #Rotterdam #Developers
That null represents the whole object, and the third argument is the indexing key.
array_column($list_of_objects, null, 'id');
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
That null represents the whole object, and the third argument is the indexing key.
array_column($list_of_objects, null, 'id');
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
That looks like a natural feature, though.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
That looks like a natural feature, though.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
It also applies to enumeration cases.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
It also applies to enumeration cases.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
No one said that 0 and 1 have to be in that order, and it works perfectly!
Well done #PHP, well done!
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
No one said that 0 and 1 have to be in that order, and it works perfectly!
Well done #PHP, well done!
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
On the other hand, they behave differently to check the underlying method.
All is in the timing.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
On the other hand, they behave differently to check the underlying method.
All is in the timing.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Given that isset() and ?? share the same code, it is not suprising that ?? hold the same trap.
That bug should go away, the sooner the beter.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Given that isset() and ?? share the same code, it is not suprising that ?? hold the same trap.
That bug should go away, the sooner the beter.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Unless there is an object, where an array is expected. Then, it leads to a fatal error.
It prevents the usage of an optimisation.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Unless there is an object, where an array is expected. Then, it leads to a fatal error.
It prevents the usage of an optimisation.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Look at this beauty! Could you make it run?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Look at this beauty! Could you make it run?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Can you make an infinite loop out of this?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Can you make an infinite loop out of this?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Does it go deep in the guts of the arrays, or does it merges values that look alike?
Or something else?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Does it go deep in the guts of the arrays, or does it merges values that look alike?
Or something else?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
I'm going to miss the hedonism of those error messages once they are all fixed.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
I'm going to miss the hedonism of those error messages once they are all fixed.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Thank you, property hooks!
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Thank you, property hooks!
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
But not on both at the same time.
One of the earliest #PHP feature, still available 30 years later.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
But not on both at the same time.
One of the earliest #PHP feature, still available 30 years later.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
What about closures? arrow functions?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
What about closures? arrow functions?
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Well, it could, and for a long time.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Well, it could, and for a long time.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Rare, but surprising.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
Rare, but surprising.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
parse_str(), the underlying #PHP function, still enforce backward compatible behaviors.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...
parse_str(), the underlying #PHP function, still enforce backward compatible behaviors.
#phptip #phptrick
php-tips.readthedocs.io/en/latest/ti...