1--TEST-- 2LOB method aliases 3--SKIPIF-- 4<?php 5$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs 6require(dirname(__FILE__).'/skipif.inc'); 7?> 8--FILE-- 9<?php 10 11// Function existence 12echo "Test 1\n"; 13var_dump(oci_lob_load()); 14var_dump(oci_lob_tell()); 15var_dump(oci_lob_truncate()); 16var_dump(oci_lob_erase()); 17var_dump(oci_lob_flush()); 18var_dump(ocisetbufferinglob()); 19var_dump(ocigetbufferinglob()); 20var_dump(oci_lob_rewind()); 21var_dump(oci_lob_read()); 22var_dump(oci_lob_eof()); 23var_dump(oci_lob_seek()); 24var_dump(oci_lob_write()); 25var_dump(oci_lob_append()); 26var_dump(oci_lob_size()); 27var_dump(oci_lob_export()); 28var_dump(oci_lob_export()); 29var_dump(oci_lob_import()); 30// No PHP_FE for oci_lob_write_temporary() or oci_lob_close() 31//var_dump(oci_lob_write_temporary()); 32//var_dump(oci_lob_close()); 33var_dump(oci_lob_save()); 34var_dump(oci_lob_import()); 35var_dump(oci_free_descriptor()); 36 37echo "Done\n"; 38 39?> 40--EXPECTF-- 41Test 1 42 43Warning: oci_lob_load() expects exactly 1 parameter, 0 given in %s on line %d 44NULL 45 46Warning: oci_lob_tell() expects exactly 1 parameter, 0 given in %s on line %d 47NULL 48 49Warning: oci_lob_truncate() expects at least 1 parameter, 0 given in %s on line %d 50NULL 51 52Warning: oci_lob_erase() expects at least 1 parameter, 0 given in %s on line %d 53NULL 54 55Warning: oci_lob_flush() expects at least 1 parameter, 0 given in %s on line %d 56NULL 57 58Warning: ocisetbufferinglob() expects exactly 2 parameters, 0 given in %s on line %d 59NULL 60 61Warning: ocigetbufferinglob() expects exactly 1 parameter, 0 given in %s on line %d 62NULL 63 64Warning: oci_lob_rewind() expects exactly 1 parameter, 0 given in %s on line %d 65NULL 66 67Warning: oci_lob_read() expects exactly 2 parameters, 0 given in %s on line %d 68NULL 69 70Warning: oci_lob_eof() expects exactly 1 parameter, 0 given in %s on line %d 71NULL 72 73Warning: oci_lob_seek() expects at least 2 parameters, 0 given in %s on line %d 74NULL 75 76Warning: oci_lob_write() expects at least 2 parameters, 0 given in %s on line %d 77NULL 78 79Warning: oci_lob_append() expects exactly 2 parameters, 0 given in %s on line %d 80NULL 81 82Warning: oci_lob_size() expects exactly 1 parameter, 0 given in %s on line %d 83NULL 84 85Warning: oci_lob_export() expects at least 2 parameters, 0 given in %s on line %d 86NULL 87 88Warning: oci_lob_export() expects at least 2 parameters, 0 given in %s on line %d 89NULL 90 91Warning: oci_lob_import() expects exactly 2 parameters, 0 given in %s on line %d 92NULL 93 94Warning: oci_lob_save() expects at least 2 parameters, 0 given in %s on line %d 95NULL 96 97Warning: oci_lob_import() expects exactly 2 parameters, 0 given in %s on line %d 98NULL 99 100Warning: oci_free_descriptor() expects exactly 1 parameter, 0 given in %s on line %d 101NULL 102Done 103