PHP Conference Nagoya 2025

oci_client_version

(PHP 5 >= 5.3.7, PHP 7, PHP 8, PECL OCI8 >= 1.4.6)

oci_client_versionReturns the Oracle client library version

Beschreibung

oci_client_version(): string

Returns a string containing the version number of the Oracle C client library that PHP is linked with.

Parameter-Liste

None

Rückgabewerte

Returns the version number as a String.

Beispiele

Beispiel #1 oci_client_version() example

<?php
echo "Client Version: " . oci_client_version(); // Client version: 19.9.0.0.0
?>

Anmerkungen

Hinweis:

Oracle libraries before 10gR2 do not have the underlying functionality to get the client library version number. The string "Unknown" will be returned in this case.

Siehe auch

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top