laserlight;11052915 wrote:Basically an unnecessary conversion from string to integer. It shouldn't be a surprise given that PHP has always been rather weakly typed.
Of course, and yeah, weak typing is well-known ... I'm basically just saying "I've never done that, therefore ... $quote " 🙂
I guess I'm a hillbilly hacker at heart: If I ain't seen it, it ain't happened. I'll go get the tinfoil hat before I read the SpaceX news feed. 😃
Weedpacket;11052917 wrote:What might surprise you more is that
for($i = 'bar'; $i < 'foo'; ++$i)
also works....
I guess it might (yes, it did, but ...) actually I'm doing a "little" fooling on y'all ... I follow at least one PHP list and have read some archived discussion of internals ... there's enough guys there who want (PHP?) to be loved that they're always willing to bend over backwards for any oddball use-case someone can think up or suggest ....