oci_client_version

Returns the Oracle client library version

&reftitle.description; `string` `oci_client_version`

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

&reftitle.parameters;

None

&reftitle.returnvalues;

Returns the version number as a string.

&reftitle.examples;

### `oci_client_version` example

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

&reftitle.notes;

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.

&reftitle.seealso;

- `oci_server_version`