- Feature Articles
- CodeSOD
- Error'd
-
Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
This one is really a WTF.
Admin
It reminds me of the classic https://www.php.net/manual/en/mysqli.real-escape-string.php
Admin
More to the point: "Is this string really empty?" "Yes, it isn't."
Admin
Look, I came here for an argument
Admin
no, you didn't
Admin
...This is abuse.
Admin
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
Admin
Now hold your head and go "waaa!"
Admin
As the old song goes, "Yes we have no bananas."
Admin
so it's the Wisconsin boolean return of "yeah, no" or "yeah, no, yeah"??
Admin
I had a hard time reading this because I already was laughing at the function name
Admin
Or in Australia "yeah, nah" = no, "nah, yeah" = yes :)
Admin
Cette chaîne est vraiment vide.
Admin
A programmer has a problem and thinks: "I know! I'll use ...".
Admin
A programmer has a problem and thinks: "I know! I'll use ...".
Admin
Which of course is just a wrapper for
https://dev.mysql.com/doc/c-api/9.5/en/mysql-real-escape-string.html
Admin
Holy moly... There's mysql_real_escape_string() and there's also mysql_real_escape_string_quote().