Just a question to seasoned PHPers, who have been working with 5- for a while. Has 7 made any difference to the way you code? Are you using any of the new features, and if so, which ones? Are they massive time savers (coding-wise or run-wise) or is it all a bit superficial? Would really like to know. Thanks.

diafol
Recommended Answers
Jump to PostHas 7 made any difference to the way you code?
A bit.
To be honest, a part personal code, I have used PHP 7 only for one client's project because it was starting with that version, in that case I used strict type declarations, CSPRNG functions and Throwable …
All 4 Replies
cereal
1,524
Nearly a Senior Poster
Featured Poster
jkon
commented:
overloading: There isn't the concept of the "method signature" so to add overloading in PHP can be difficult
+9
diafol
commented:
About the same here, although not using CSPRNG or strict types
+15
jkon
585
Posting Whiz in Training
Featured Poster
diafol
commented:
Null coalescing "??" is great! :)
+15

diafol
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.