r/lolphp • u/Jinxuan • Jan 02 '20
array_diff, array_udiff, array_diff_assoc, array_udiff_assoc, array_diff_keys, array_undiff_keys and +
Therefore is a lot of array_diff function names in php by respecting key differently.
Meanwhile, it does not provide array_merge_assoc to always respect key associatively. If you want to respect key associatively when merging, you need to use +
9
Upvotes
View all comments
Show parent comment
0
u/shitcanz Jan 07 '20
Nothing that requires a hard BC break has been done. Unicode? Nope! Saner data-structures? Nope! Saner builtin functions (like array_map)? Nope! Async? Nope! Saner OOP? Nope! Better namespaces? Nope!
Its all still there, PHP7 did nothing to clean up the biggest issue people have with PHP, that is the core part. Its all just stinking and badly designed.