Link to the article please and thank you?
-
New conversation
-
-
-
...or use is_numeric()
-
Any language worth writing code in doesn't happily convert malformed strings into best guess integers without raising an error.
- Show replies
New conversation -
-
-
as much as I love to hate PHP. It's getting better. 7 has strict typing for scalars. And WP is one of the worst legacy codebases.
-
same here. Since then, there are better tools and functions tahn before.
End of conversation
New conversation -
-
-
good lord why
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
What are the other options commonly installed on hosting? Perl, Python, and RoR? They aren't lazy-dev proof either
-
No language is lazy-dev proof, but PHP tries as hard as it can to get you to shoot yourself in the foot.
- Show replies
New conversation -
-
-
Isn't that more of a WP issue though? 1/2
-
I mean I get that PHP has the malformed string conversion problem, but a request's input should never be trusted like that
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.