ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
pdo\_debug() - 调试运行SQL语句,显示执行过的SQL的栈情况 ### 说明 ~~~ array debug($output = true, $append = array()) ~~~ ### 参数 无 ### 示例 ~~~ pdo_debug(); //调用该函数结果如下 ~~~ ### 返回 ~~~ Array ( [0] => Array ( [sql] => SET NAMES 'utf8'; [error] => Array ( [0] => 00000 [1] => [2] => ) ) [1] => Array ( [sql] => SELECT `value` FROM `ims_core_cache` WHERE `key`=:key [params] => Array ( [:key] => setting ) [error] => Array ( [0] => 00000 [1] => [2] => ) ) ) ~~~