xref: /PHP-8.3/ext/oci8/tests/array_bind_009.phpt (revision a53e5617)
1--TEST--
2oci_bind_array_by_name() and invalid values 9
3--EXTENSIONS--
4oci8
5--SKIPIF--
6<?php
7require_once 'skipifconnectfailure.inc';
8?>
9--FILE--
10<?php
11
12require __DIR__.'/connect.inc';
13
14var_dump(oci_bind_array_by_name($c, ":c1", $array, 5, 5, SQLT_CHR));
15?>
16--EXPECTF--
17Fatal error: Uncaught TypeError: oci_bind_array_by_name(): supplied resource is not a valid oci8 statement resource in %s:%d
18Stack trace:
19#0 %s: oci_bind_array_by_name(%s)
20#1 {main}
21  thrown in %s on line %d