OCI8 Funciones
PHP Manual

oci_client_version

(PHP 5.3.7, PECL OCI8 >= 1.4.6)

oci_client_versionReturns the Oracle client library version

Descripción

string oci_client_version ( void )

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

Parámetros

None

Valores devueltos

Returns the version number as a string.

Ejemplos

Ejemplo #1 oci_client_version() example

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

Notas

Nota:

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.

Ver también


OCI8 Funciones
PHP Manual