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