1--TEST-- 2Unsupported type: oci_bind_array_by_name() and SQLT_BFLOAT 3--SKIPIF-- 4<?php 5$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs 6require(dirname(__FILE__).'/skipif.inc'); 7if (!defined('SQLT_BFLOAT')) die('skip SQLT_BFLOAT type not available on older Oracle clients'); 8?> 9--FILE-- 10<?php 11 12require dirname(__FILE__).'/connect.inc'; 13 14$statement = oci_parse($c, "BEGIN array_bind_bfloat_pkg.iobind(:c1); END;"); 15$array = Array(1.243,2.5658,3.4234,4.2123,5.9999); 16oci_bind_array_by_name($statement, ":c1", $array, 5, 5, SQLT_BFLOAT); 17 18echo "Done\n"; 19?> 20--EXPECTF-- 21Warning: oci_bind_array_by_name(): Unknown or unsupported datatype given: 21 in %sarray_bind_bfloat.php on line %d 22Done 23