xref: /PHP-8.2/ext/oci8/tests/lob_aliases.phpt (revision b5a14e6c)
1--TEST--
2LOB method aliases
3--EXTENSIONS--
4oci8
5--SKIPIF--
6<?php
7$target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
8require(__DIR__.'/skipif.inc');
9?>
10--FILE--
11<?php
12
13// Function existence
14echo "Test 1\n";
15var_dump(function_exists('oci_lob_load'));
16var_dump(function_exists('oci_lob_tell'));
17var_dump(function_exists('oci_lob_truncate'));
18var_dump(function_exists('oci_lob_erase'));
19var_dump(function_exists('oci_lob_flush'));
20var_dump(function_exists('ocisetbufferinglob'));
21var_dump(function_exists('ocigetbufferinglob'));
22var_dump(function_exists('oci_lob_rewind'));
23var_dump(function_exists('oci_lob_read'));
24var_dump(function_exists('oci_lob_eof'));
25var_dump(function_exists('oci_lob_seek'));
26var_dump(function_exists('oci_lob_write'));
27var_dump(function_exists('oci_lob_append'));
28var_dump(function_exists('oci_lob_size'));
29var_dump(function_exists('oci_lob_export'));
30var_dump(function_exists('oci_lob_export'));
31var_dump(function_exists('oci_lob_import'));
32var_dump(function_exists('oci_lob_save'));
33var_dump(function_exists('oci_lob_import'));
34var_dump(function_exists('oci_free_descriptor'));
35
36echo "Done\n";
37
38?>
39--EXPECT--
40Test 1
41bool(true)
42bool(true)
43bool(true)
44bool(true)
45bool(true)
46bool(true)
47bool(true)
48bool(true)
49bool(true)
50bool(true)
51bool(true)
52bool(true)
53bool(true)
54bool(true)
55bool(true)
56bool(true)
57bool(true)
58bool(true)
59bool(true)
60bool(true)
61Done
62