xref: /PHP-7.1/ext/oci8/tests/array_bind_009.phpt (revision 37652336)
1--TEST--
2oci_bind_array_by_name() and invalid values 9
3--SKIPIF--
4<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5--FILE--
6<?php
7
8require dirname(__FILE__).'/connect.inc';
9
10var_dump(oci_bind_array_by_name($c, ":c1", $array, 5, 5, SQLT_CHR));
11
12echo "Done\n";
13?>
14--EXPECTF--
15Warning: oci_bind_array_by_name(): supplied resource is not a valid oci8 statement resource in %s on line %d
16bool(false)
17Done
18