xref: /PHP-8.0/ext/oci8/tests/lob_aliases.phpt (revision 0c6d06ec)
1--TEST--
2LOB method aliases
3--SKIPIF--
4<?php
5$target_dbs = array('oracledb' => true, 'timesten' => false);  // test runs on these DBs
6require(__DIR__.'/skipif.inc');
7?>
8--FILE--
9<?php
10
11// Function existence
12echo "Test 1\n";
13var_dump(function_exists('oci_lob_load'));
14var_dump(function_exists('oci_lob_tell'));
15var_dump(function_exists('oci_lob_truncate'));
16var_dump(function_exists('oci_lob_erase'));
17var_dump(function_exists('oci_lob_flush'));
18var_dump(function_exists('ocisetbufferinglob'));
19var_dump(function_exists('ocigetbufferinglob'));
20var_dump(function_exists('oci_lob_rewind'));
21var_dump(function_exists('oci_lob_read'));
22var_dump(function_exists('oci_lob_eof'));
23var_dump(function_exists('oci_lob_seek'));
24var_dump(function_exists('oci_lob_write'));
25var_dump(function_exists('oci_lob_append'));
26var_dump(function_exists('oci_lob_size'));
27var_dump(function_exists('oci_lob_export'));
28var_dump(function_exists('oci_lob_export'));
29var_dump(function_exists('oci_lob_import'));
30var_dump(function_exists('oci_lob_save'));
31var_dump(function_exists('oci_lob_import'));
32var_dump(function_exists('oci_free_descriptor'));
33
34echo "Done\n";
35
36?>
37--EXPECT--
38Test 1
39bool(true)
40bool(true)
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)
59Done
60