PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/oci8/tests/lob_aliases.phpt ('LOB method aliases')

Script

1: <?php
2:
3:
// Function existence
4:
echo "Test 1\n";
5:
var_dump(oci_lob_load());
6:
var_dump(oci_lob_tell());
7:
var_dump(oci_lob_truncate());
8:
var_dump(oci_lob_erase());
9:
var_dump(oci_lob_flush());
10:
var_dump(ocisetbufferinglob());
11:
var_dump(ocigetbufferinglob());
12:
var_dump(oci_lob_rewind());
13:
var_dump(oci_lob_read());
14:
var_dump(oci_lob_eof());
15:
var_dump(oci_lob_seek());
16:
var_dump(oci_lob_write());
17:
var_dump(oci_lob_append());
18:
var_dump(oci_lob_size());
19:
var_dump(oci_lob_export());
20:
var_dump(oci_lob_export());
21:
var_dump(oci_lob_import());
22:
// No PHP_FE for oci_lob_write_temporary() or oci_lob_close()
23: //var_dump(oci_lob_write_temporary());
24: //var_dump(oci_lob_close());
25:
var_dump(oci_lob_save());
26:
var_dump(oci_lob_import());
27:
var_dump(oci_free_descriptor());
28:
29: echo 
"Done\n";
30:
31:
?>
32:

Expected

Test 1

Warning: oci_lob_load() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_tell() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_truncate() expects at least 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_erase() expects at least 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_flush() expects at least 1 parameter, 0 given in %s on line %d
NULL

Warning: ocisetbufferinglob() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Warning: ocigetbufferinglob() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_rewind() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_read() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_eof() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_seek() expects at least 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_write() expects at least 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_append() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_size() expects exactly 1 parameter, 0 given in %s on line %d
NULL

Warning: oci_lob_export() expects at least 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_export() expects at least 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_import() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_save() expects at least 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_lob_import() expects exactly 2 parameters, 0 given in %s on line %d
NULL

Warning: oci_free_descriptor() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Done

Output

Test 1

Fatal error: Uncaught ArgumentCountError: oci_lob_load() expects exactly 1 parameter, 0 given in /var/php_gcov/PHP_HEAD/ext/oci8/tests/lob_aliases.php:5
Stack trace:
#0 /var/php_gcov/PHP_HEAD/ext/oci8/tests/lob_aliases.php(5): oci_lob_load()
#1 {main}
  thrown in /var/php_gcov/PHP_HEAD/ext/oci8/tests/lob_aliases.php on line 5

Diff

003+ Fatal error: Uncaught ArgumentCountError: oci_lob_load() expects exactly 1 parameter, 0 given in /var/php_gcov/PHP_HEAD/ext/oci8/tests/lob_aliases.php:5
004+ Stack trace:
005+ #0 /var/php_gcov/PHP_HEAD/ext/oci8/tests/lob_aliases.php(5): oci_lob_load()
006+ #1 {main}
007+   thrown in /var/php_gcov/PHP_HEAD/ext/oci8/tests/lob_aliases.php on line 5
003- Warning: oci_lob_load() expects exactly 1 parameter, 0 given in %s on line %d
004- NULL
005- 
006- Warning: oci_lob_tell() expects exactly 1 parameter, 0 given in %s on line %d
007- NULL
008- 
009- Warning: oci_lob_truncate() expects at least 1 parameter, 0 given in %s on line %d
010- NULL
011- 
012- Warning: oci_lob_erase() expects at least 1 parameter, 0 given in %s on line %d
013- NULL
014- 
015- Warning: oci_lob_flush() expects at least 1 parameter, 0 given in %s on line %d
016- NULL
017- 
018- Warning: ocisetbufferinglob() expects exactly 2 parameters, 0 given in %s on line %d
019- NULL
020- 
021- Warning: ocigetbufferinglob() expects exactly 1 parameter, 0 given in %s on line %d
022- NULL
023- 
024- Warning: oci_lob_rewind() expects exactly 1 parameter, 0 given in %s on line %d
025- NULL
026- 
027- Warning: oci_lob_read() expects exactly 2 parameters, 0 given in %s on line %d
028- NULL
029- 
030- Warning: oci_lob_eof() expects exactly 1 parameter, 0 given in %s on line %d
031- NULL
032- 
033- Warning: oci_lob_seek() expects at least 2 parameters, 0 given in %s on line %d
034- NULL
035- 
036- Warning: oci_lob_write() expects at least 2 parameters, 0 given in %s on line %d
037- NULL
038- 
039- Warning: oci_lob_append() expects exactly 2 parameters, 0 given in %s on line %d
040- NULL
041- 
042- Warning: oci_lob_size() expects exactly 1 parameter, 0 given in %s on line %d
043- NULL
044- 
045- Warning: oci_lob_export() expects at least 2 parameters, 0 given in %s on line %d
046- NULL
047- 
048- Warning: oci_lob_export() expects at least 2 parameters, 0 given in %s on line %d
049- NULL
050- 
051- Warning: oci_lob_import() expects exactly 2 parameters, 0 given in %s on line %d
052- NULL
053- 
054- Warning: oci_lob_save() expects at least 2 parameters, 0 given in %s on line %d
055- NULL
056- 
057- Warning: oci_lob_import() expects exactly 2 parameters, 0 given in %s on line %d
058- NULL
059- 
060- Warning: oci_free_descriptor() expects exactly 1 parameter, 0 given in %s on line %d
061- NULL
062- Done

 

Generated at Mon, 06 May 2019 17:58:35 +0000 (942 days ago)

Copyright © 2005-2021 The PHP Group
All rights reserved.