4 ms·
I always wondered if “real_” means “now this time we’re serious” or something less funny.
by wruza 5y ago
I always wondered if “real_” means “now this time we’re serious” or something less funny.
- lillesvin 5y agoIt seems to come from the MySQL C API: https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-escape-string.html https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-escape-str... The 'real' supposedly alludes to the fact that `mysql_real_escape_string()` accounts for character encoding (if specified correctly) unlike its sibling `mysql_escape_string()`. So, yeah, I'm afraid 'less funny'. :-/