OCI_CLIENT_VERSION(3) OCI_CLIENT_VERSION(3)
oci_client_version - Returns the Oracle client library version
SYNOPSIS
string oci_client_version (void )
DESCRIPTION
Returns a string containing the version number of the Oracle C client library that PHP is linked with.
PARAMETERS
None
RETURN VALUES
Returns the version number as a string.
EXAMPLES
Example #1
oci_client_version(3) example
<?php
echo "Client Version: " . oci_client_version(); // Client version: 11.2.0.2
?>
NOTES
Note
Oracle libraries before 10 gR2 do not have the underlying functionality to get the client library version number. The string
"Unknown" will be returned in this case.
SEE ALSO
oci_server_version(3).
PHP Documentation Group OCI_CLIENT_VERSION(3)