1--TEST-- 2oci_client_version() for Oracle 9.2 client libraries 3--SKIPIF-- 4<?php 5if (!extension_loaded('oci8')) die("skip no oci8 extension"); 6if (preg_match('/Unknown/', oci_client_version()) != 1) { 7 die("skip test expected to work only with Oracle 9gR2 client libraries"); 8} 9?> 10--FILE-- 11<?php 12 13echo oci_client_version(), "\n"; 14 15?> 16===DONE=== 17<?php exit(0); ?> 18--EXPECTF-- 19Unknown 20===DONE=== 21