oci_statement_type
PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_statement_type - Returns the type of a statement
Manual
oci_statement_type(
resource$statement ): string|false
Returns a keyword identifying the type of the OCI8 statement.
Parameters
- statement
-
A valid OCI8 statement identifier from oci_parse.
Return Values
Returns the type of statement as one of the following strings.
Return String | Notes |
ALTER | |
BEGIN | |
CALL | Introduced in PHP 5.2.1 (PECL OCI8 1.2.3) |
CREATE | |
DECLARE | |
DELETE | |
DROP | |
INSERT | |
SELECT | |
UPDATE | |
UNKNOWN |
Returns false on error.