diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 9ad70d3e906..970abc2b5a1 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1509,7 +1509,8 @@ PHP_FUNCTION(mysql_escape_string) /* }}} */ /* {{{ proto string mysql_real_escape_string(string to_be_escaped, [int link_identifier]) - Escape string for mysql_query */ + Escape special characters in a string for ise in a SQL statement, taking into account the + current charset of the connection */ PHP_FUNCTION(mysql_real_escape_string) { zval *mysql_link = NULL;