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/function_aliases.phpt ('Existence of old function aliases')

Script

1: <?php
2:
3: var_dump
(oci_free_cursor());
4:
var_dump(ocifreecursor());
5:
var_dump(ocibindbyname());
6:
var_dump(ocidefinebyname());
7:
var_dump(ocicolumnisnull());
8:
var_dump(ocicolumnname());
9:
var_dump(ocicolumnsize());
10:
var_dump(ocicolumnscale());
11:
var_dump(ocicolumnprecision());
12:
var_dump(ocicolumntype());
13:
var_dump(ocicolumntyperaw());
14:
var_dump(ociexecute());
15:
var_dump(ocicancel());
16:
var_dump(ocifetch());
17:
var_dump(ocifetchstatement());
18:
var_dump(ocifreestatement());
19:
var_dump(ociinternaldebug());
20:
var_dump(ocinumcols());
21:
var_dump(ociparse());
22:
var_dump(ocinewcursor());
23:
var_dump(ociresult());
24:
var_dump(ociserverversion());
25:
var_dump(ocistatementtype());
26:
var_dump(ocirowcount());
27:
var_dump(ocilogoff());
28:
var_dump(ocilogon());
29:
var_dump(ocinlogon());
30:
var_dump(ociplogon());
31:
var_dump(ocierror());
32:
var_dump(ocifreedesc());
33:
var_dump(ocisavelob());
34:
var_dump(ocisavelobfile());
35:
var_dump(ociwritelobtofile());
36:
var_dump(ociloadlob());
37:
var_dump(ocicommit());
38:
var_dump(ocirollback());
39:
var_dump(ocinewdescriptor());
40:
var_dump(ocisetprefetch());
41:
var_dump(ocipasswordchange());
42:
var_dump(ocifreecollection());
43:
var_dump(ocinewcollection());
44:
var_dump(ocicollappend());
45:
var_dump(ocicollgetelem());
46:
var_dump(ocicollassignelem());
47:
var_dump(ocicollsize());
48:
var_dump(ocicollmax());
49:
var_dump(ocicolltrim());
50:
51: echo 
"Done\n";
52:
53:
?>
54:

Expected

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

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

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

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

Warning: ocicolumnisnull() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

Warning: ocicolumnname() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

Warning: ocicolumnsize() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

Warning: ocicolumnscale() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

Warning: ocicolumnprecision() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

Warning: ocicolumntype() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

Warning: ocicolumntyperaw() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

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

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

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

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

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

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

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

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

Warning: ociresult() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warning: Wrong parameter count for ocipasswordchange() in %s on line %d
NULL

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

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

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

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

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

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

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

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

Output

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

Diff

001+ Fatal error: Uncaught ArgumentCountError: oci_free_cursor() expects exactly 1 parameter, 0 given in /var/php_gcov/PHP_HEAD/ext/oci8/tests/function_aliases.php:3
002+ Stack trace:
003+ #0 /var/php_gcov/PHP_HEAD/ext/oci8/tests/function_aliases.php(3): oci_free_cursor()
004+ #1 {main}
005+   thrown in /var/php_gcov/PHP_HEAD/ext/oci8/tests/function_aliases.php on line 3
001- Warning: oci_free_cursor() expects exactly 1 parameter, 0 given in %s on line %d
002- NULL
003- 
004- Warning: ocifreecursor() expects exactly 1 parameter, 0 given in %s on line %d
005- NULL
006- 
007- Warning: ocibindbyname() expects at least 3 parameters, 0 given in %s on line %d
008- NULL
009- 
010- Warning: ocidefinebyname() expects at least 3 parameters, 0 given in %s on line %d
011- NULL
012- 
013- Warning: ocicolumnisnull() expects exactly 2 parameters, 0 given in %s on line %d
014- bool(false)
015- 
016- Warning: ocicolumnname() expects exactly 2 parameters, 0 given in %s on line %d
017- bool(false)
018- 
019- Warning: ocicolumnsize() expects exactly 2 parameters, 0 given in %s on line %d
020- bool(false)
021- 
022- Warning: ocicolumnscale() expects exactly 2 parameters, 0 given in %s on line %d
023- bool(false)
024- 
025- Warning: ocicolumnprecision() expects exactly 2 parameters, 0 given in %s on line %d
026- bool(false)
027- 
028- Warning: ocicolumntype() expects exactly 2 parameters, 0 given in %s on line %d
029- bool(false)
030- 
031- Warning: ocicolumntyperaw() expects exactly 2 parameters, 0 given in %s on line %d
032- bool(false)
033- 
034- Warning: ociexecute() expects at least 1 parameter, 0 given in %s on line %d
035- NULL
036- 
037- Warning: ocicancel() expects exactly 1 parameter, 0 given in %s on line %d
038- NULL
039- 
040- Warning: ocifetch() expects exactly 1 parameter, 0 given in %s on line %d
041- NULL
042- 
043- Warning: ocifetchstatement() expects at least 2 parameters, 0 given in %s on line %d
044- NULL
045- 
046- Warning: ocifreestatement() expects exactly 1 parameter, 0 given in %s on line %d
047- NULL
048- NULL
049- 
050- Warning: ocinumcols() expects exactly 1 parameter, 0 given in %s on line %d
051- NULL
052- 
053- Warning: ociparse() expects exactly 2 parameters, 0 given in %s on line %d
054- NULL
055- 
056- Warning: ocinewcursor() expects exactly 1 parameter, 0 given in %s on line %d
057- NULL
058- 
059- Warning: ociresult() expects exactly 2 parameters, 0 given in %s on line %d
060- bool(false)
061- 
062- Warning: ociserverversion() expects exactly 1 parameter, 0 given in %s on line %d
063- NULL
064- 
065- Warning: ocistatementtype() expects exactly 1 parameter, 0 given in %s on line %d
066- NULL
067- 
068- Warning: ocirowcount() expects exactly 1 parameter, 0 given in %s on line %d
069- NULL
070- 
071- Warning: ocilogoff() expects exactly 1 parameter, 0 given in %s on line %d
072- NULL
073- 
074- Warning: ocilogon() expects at least 2 parameters, 0 given in %s on line %d
075- NULL
076- 
077- Warning: ocinlogon() expects at least 2 parameters, 0 given in %s on line %d
078- NULL
079- 
080- Warning: ociplogon() expects at least 2 parameters, 0 given in %s on line %d
081- NULL
082- bool(false)
083- 
084- Warning: ocifreedesc() expects exactly 1 parameter, 0 given in %s on line %d
085- NULL
086- 
087- Warning: ocisavelob() expects at least 2 parameters, 0 given in %s on line %d
088- NULL
089- 
090- Warning: ocisavelobfile() expects exactly 2 parameters, 0 given in %s on line %d
091- NULL
092- 
093- Warning: ociwritelobtofile() expects at least 2 parameters, 0 given in %s on line %d
094- NULL
095- 
096- Warning: ociloadlob() expects exactly 1 parameter, 0 given in %s on line %d
097- NULL
098- 
099- Warning: ocicommit() expects exactly 1 parameter, 0 given in %s on line %d
100- NULL
101- 
102- Warning: ocirollback() expects exactly 1 parameter, 0 given in %s on line %d
103- NULL
104- 
105- Warning: ocinewdescriptor() expects at least 1 parameter, 0 given in %s on line %d
106- NULL
107- 
108- Warning: ocisetprefetch() expects exactly 2 parameters, 0 given in %s on line %d
109- NULL
110- 
111- Warning: Wrong parameter count for ocipasswordchange() in %s on line %d
112- NULL
113- 
114- Warning: ocifreecollection() expects exactly 1 parameter, 0 given in %s on line %d
115- NULL
116- 
117- Warning: ocinewcollection() expects at least 2 parameters, 0 given in %s on line %d
118- NULL
119- 
120- Warning: ocicollappend() expects exactly 2 parameters, 0 given in %s on line %d
121- NULL
122- 
123- Warning: ocicollgetelem() expects exactly 2 parameters, 0 given in %s on line %d
124- NULL
125- 
126- Warning: ocicollassignelem() expects exactly 3 parameters, 0 given in %s on line %d
127- NULL
128- 
129- Warning: ocicollsize() expects exactly 1 parameter, 0 given in %s on line %d
130- NULL
131- 
132- Warning: ocicollmax() expects exactly 1 parameter, 0 given in %s on line %d
133- NULL
134- 
135- Warning: ocicolltrim() expects exactly 2 parameters, 0 given in %s on line %d
136- NULL
137- Done

 

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

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