Wow, I didn't realize #PHP 8.0 was coming soon. RC1 is out now, with a GA projected for 2020-11-26. https://github.com/php/php-src/blob/php-8.0.0rc1/NEWS
wow FINALLY, this was my biggest Pet PHPeeve: "Access to undefined constants now always results in an Error exception."
PHP 8 is adding "Attributes": This RFC proposes Attributes as a form of structured, syntactic metadata to declarations of classes, properties, functions, methods, parameters and constants. Attributes allow to define configuration directives directly embedded with the declaration of that code.
Neat, didn't expect this to change: "Non-strict comparisons between numbers and non-numeric strings now work by casting the number to string and comparing the strings."
So `0 == "foo"` changes from true to false in PHP 8.
"Nested ternaries now require explicit parentheses." thank god
Getting into the new features now!
@00dani I'm so excited! I've been using PHP for 20 years, professionally for 12, and it's been an amazing transformation. Steady improvement since PHP 5.3 back in like 2009.
The Vulpine Club is a friendly and welcoming community of foxes and their associates, friends, and fans! =^^=