72

SaraMG on Twitter: "When comparing two strings in PHP, the engine will prom...

 5 years ago
source link: https://twitter.com/SaraMG/status/1027587230557188098
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
“When comparing two strings in PHP, the engine will promote the numbers to ints (or floats) if that's what they appear to be. Given the (mitigable) security risks this (potentially) exposes users to, should that behavior be deprecated in 7.4 and removed in 8.0 ?”

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK