My guess is that this function's signature is modeled on `mysql_real_escape_string()`, which takes a connection parameter. Mysql's version seems to change its behavior based on the connection settings (charset).
My guess is that this function's signature is modeled on `mysql_ real_escape_ string( )`, which takes a connection parameter. Mysql's version seems to change its behavior based on the connection settings (charset).