更新时间:2022-03-21 04:58:04
MySQL 扩展:
由于它已被弃用,因此使用它会使您的代码缺乏未来证明.
Since it is deprecated, using it makes your code less future proof.
缺乏对准备好的语句的支持尤其重要,因为与使用单独的函数调用手动转义外部数据相比,它们提供了一种更清晰、更不容易出错的转义和引用外部数据的方法.
Lack of support for prepared statements is particularly important as they provide a clearer, less error-prone method of escaping and quoting external data than manually escaping it with a separate function call.
见SQL扩展对比.