1--TEST-- 2Bind with various bind types not supported by TimesTen 3--EXTENSIONS-- 4oci8 5--SKIPIF-- 6<?php 7require_once 'skipifconnectfailure.inc'; 8$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs 9require __DIR__.'/skipif.inc'; 10?> 11--FILE-- 12<?php 13 14require __DIR__.'/connect.inc'; 15 16$types = array( 17 "SQLT_CLOB" => SQLT_CLOB, 18 "SQLT_BLOB" => SQLT_BLOB, 19 "OCI_B_CLOB" => OCI_B_CLOB, 20 "OCI_B_BLOB" => OCI_B_BLOB, 21); 22 23foreach ($types as $t => $v) { 24 25 echo "Test - $t\n"; 26 27 $s = oci_parse($c, "select * from dual where dummy = :c1"); 28 $c1 = "Doug"; 29 oci_bind_by_name($s, ":c1", $c1, -1, $v); 30} 31 32?> 33--EXPECTF-- 34Test - SQLT_CLOB 35 36Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line %d 37Test - SQLT_BLOB 38 39Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line %d 40Test - OCI_B_CLOB 41 42Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line %d 43Test - OCI_B_BLOB 44 45Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line %d 46