1--TEST--
2Existence of old function aliases
3--SKIPIF--
4<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5--FILE--
6<?php
7
8var_dump(oci_free_cursor());
9var_dump(ocifreecursor());
10var_dump(ocibindbyname());
11var_dump(ocidefinebyname());
12var_dump(ocicolumnisnull());
13var_dump(ocicolumnname());
14var_dump(ocicolumnsize());
15var_dump(ocicolumnscale());
16var_dump(ocicolumnprecision());
17var_dump(ocicolumntype());
18var_dump(ocicolumntyperaw());
19var_dump(ociexecute());
20var_dump(ocicancel());
21var_dump(ocifetch());
22var_dump(ocifetchstatement());
23var_dump(ocifreestatement());
24var_dump(ociinternaldebug());
25var_dump(ocinumcols());
26var_dump(ociparse());
27var_dump(ocinewcursor());
28var_dump(ociresult());
29var_dump(ociserverversion());
30var_dump(ocistatementtype());
31var_dump(ocirowcount());
32var_dump(ocilogoff());
33var_dump(ocilogon());
34var_dump(ocinlogon());
35var_dump(ociplogon());
36var_dump(ocierror());
37var_dump(ocifreedesc());
38var_dump(ocisavelob());
39var_dump(ocisavelobfile());
40var_dump(ociwritelobtofile());
41var_dump(ociloadlob());
42var_dump(ocicommit());
43var_dump(ocirollback());
44var_dump(ocinewdescriptor());
45var_dump(ocisetprefetch());
46var_dump(ocipasswordchange());
47var_dump(ocifreecollection());
48var_dump(ocinewcollection());
49var_dump(ocicollappend());
50var_dump(ocicollgetelem());
51var_dump(ocicollassignelem());
52var_dump(ocicollsize());
53var_dump(ocicollmax());
54var_dump(ocicolltrim());
55
56echo "Done\n";
57
58?>
59--EXPECTF--
60Warning: oci_free_cursor() expects exactly 1 parameter, 0 given in %s on line %d
61NULL
62
63Warning: ocifreecursor() expects exactly 1 parameter, 0 given in %s on line %d
64NULL
65
66Warning: ocibindbyname() expects at least 3 parameters, 0 given in %s on line %d
67NULL
68
69Warning: ocidefinebyname() expects at least 3 parameters, 0 given in %s on line %d
70NULL
71
72Warning: ocicolumnisnull() expects exactly 2 parameters, 0 given in %s on line %d
73bool(false)
74
75Warning: ocicolumnname() expects exactly 2 parameters, 0 given in %s on line %d
76bool(false)
77
78Warning: ocicolumnsize() expects exactly 2 parameters, 0 given in %s on line %d
79bool(false)
80
81Warning: ocicolumnscale() expects exactly 2 parameters, 0 given in %s on line %d
82bool(false)
83
84Warning: ocicolumnprecision() expects exactly 2 parameters, 0 given in %s on line %d
85bool(false)
86
87Warning: ocicolumntype() expects exactly 2 parameters, 0 given in %s on line %d
88bool(false)
89
90Warning: ocicolumntyperaw() expects exactly 2 parameters, 0 given in %s on line %d
91bool(false)
92
93Warning: ociexecute() expects at least 1 parameter, 0 given in %s on line %d
94NULL
95
96Warning: ocicancel() expects exactly 1 parameter, 0 given in %s on line %d
97NULL
98
99Warning: ocifetch() expects exactly 1 parameter, 0 given in %s on line %d
100NULL
101
102Warning: ocifetchstatement() expects at least 2 parameters, 0 given in %s on line %d
103NULL
104
105Warning: ocifreestatement() expects exactly 1 parameter, 0 given in %s on line %d
106NULL
107NULL
108
109Warning: ocinumcols() expects exactly 1 parameter, 0 given in %s on line %d
110NULL
111
112Warning: ociparse() expects exactly 2 parameters, 0 given in %s on line %d
113NULL
114
115Warning: ocinewcursor() expects exactly 1 parameter, 0 given in %s on line %d
116NULL
117
118Warning: ociresult() expects exactly 2 parameters, 0 given in %s on line %d
119bool(false)
120
121Warning: ociserverversion() expects exactly 1 parameter, 0 given in %s on line %d
122NULL
123
124Warning: ocistatementtype() expects exactly 1 parameter, 0 given in %s on line %d
125NULL
126
127Warning: ocirowcount() expects exactly 1 parameter, 0 given in %s on line %d
128NULL
129
130Warning: ocilogoff() expects exactly 1 parameter, 0 given in %s on line %d
131NULL
132
133Warning: ocilogon() expects at least 2 parameters, 0 given in %s on line %d
134NULL
135
136Warning: ocinlogon() expects at least 2 parameters, 0 given in %s on line %d
137NULL
138
139Warning: ociplogon() expects at least 2 parameters, 0 given in %s on line %d
140NULL
141bool(false)
142
143Warning: ocifreedesc() expects exactly 1 parameter, 0 given in %s on line %d
144NULL
145
146Warning: ocisavelob() expects at least 2 parameters, 0 given in %s on line %d
147NULL
148
149Warning: ocisavelobfile() expects exactly 2 parameters, 0 given in %s on line %d
150NULL
151
152Warning: ociwritelobtofile() expects at least 2 parameters, 0 given in %s on line %d
153NULL
154
155Warning: ociloadlob() expects exactly 1 parameter, 0 given in %s on line %d
156NULL
157
158Warning: ocicommit() expects exactly 1 parameter, 0 given in %s on line %d
159NULL
160
161Warning: ocirollback() expects exactly 1 parameter, 0 given in %s on line %d
162NULL
163
164Warning: ocinewdescriptor() expects at least 1 parameter, 0 given in %s on line %d
165NULL
166
167Warning: ocisetprefetch() expects exactly 2 parameters, 0 given in %s on line %d
168NULL
169
170Warning: Wrong parameter count for ocipasswordchange() in %s on line %d
171NULL
172
173Warning: ocifreecollection() expects exactly 1 parameter, 0 given in %s on line %d
174NULL
175
176Warning: ocinewcollection() expects at least 2 parameters, 0 given in %s on line %d
177NULL
178
179Warning: ocicollappend() expects exactly 2 parameters, 0 given in %s on line %d
180NULL
181
182Warning: ocicollgetelem() expects exactly 2 parameters, 0 given in %s on line %d
183NULL
184
185Warning: ocicollassignelem() expects exactly 3 parameters, 0 given in %s on line %d
186NULL
187
188Warning: ocicollsize() expects exactly 1 parameter, 0 given in %s on line %d
189NULL
190
191Warning: ocicollmax() expects exactly 1 parameter, 0 given in %s on line %d
192NULL
193
194Warning: ocicolltrim() expects exactly 2 parameters, 0 given in %s on line %d
195NULL
196Done
197