oci_internal_debug

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0, PECL OCI8 <= 2.2.0)

oci_internal_debugEnables or disables internal debug output

说明

oci_internal_debug(bool $onoff): void

Enables or disables internal debug output.

参数

onoff

Set this to false to turn debug output off or true to turn it on.

返回值

没有返回值。

注释

注意:

This function was removed in PHP 8 and PECL OCI8 3.0.

注意:

This function is a no-op in PHP 5.6 and PECL OCI8 2.0. Use DTrace instead.

注意:

In PHP versions before 5.0.0 you must use ociinternaldebug() instead. This name still can be used, it was left as alias of oci_internal_debug() for downwards compatability. This, however, is deprecated and not recommended.