Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法显示刚刚被 ociparse 的 SQL 语句(有或没有绑定变量)?我维护一个遗留应用程序,有时 SQL 是从许多不同的地方构建的,并且中间有很多条件。我最好做一个 print_r($handle) 但这当然行不通。
简短的回答,不。没有简单的方法可以通过本机函数调试已解析的查询。您需要创建自己的包装器