1--TEST-- 2Bind with various unsupported 10g+ bind types 3--EXTENSIONS-- 4oci8 5--SKIPIF-- 6<?php 7require_once 'skipifconnectfailure.inc'; 8?> 9--FILE-- 10<?php 11 12require __DIR__.'/connect.inc'; 13 14$types = array( 15 "SQLT_BDOUBLE" => SQLT_BDOUBLE, 16 "SQLT_BFLOAT" => SQLT_BFLOAT, 17); 18 19foreach ($types as $t => $v) { 20 21 echo "Test - $t\n"; 22 23 $s = oci_parse($c, "select * from dual where dummy = :c1"); 24 $c1 = "Doug"; 25 oci_bind_by_name($s, ":c1", $c1, -1, $v); 26} 27 28?> 29--EXPECTF-- 30Test - SQLT_BDOUBLE 31 32Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 22 in %sbind_unsupported_2.php on line %d 33Test - SQLT_BFLOAT 34 35Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 21 in %sbind_unsupported_2.php on line %d 36