Test: /ext/oci8/tests/bug51291_1.phpt - Version 5.3.18    

There are 3 different diffs reported by users for this test.

Count Diff
1 (33%)
001+ Fatal error: connect.inc: Failed to connect as 'system' to 'localhost/XE': ORA-12541: TNS:no listener in /usr/local/src/php-5.3.18/ext/oci8/tests/connect.inc on line 14
001- Test 1 - Parse
002- array(4) {
003- ["code"]=>
004- int(1756)
005- ["message"]=>
006- string(48) "ORA-01756: %s"
007- ["offset"]=>
008- int(0)
009- ["sqltext"]=>
010- string(0) ""
011- }
012- 2nd call
013- array(4) {
014- ["code"]=>
015- int(1756)
016- ["message"]=>
017- string(48) "ORA-01756: %s"
018- ["offset"]=>
019- int(0)
020- ["sqltext"]=>
021- string(0) ""
022- }
023-
024- Test 2 - Parse
025-
026- Warning: oci_error() expects parameter 1 to be resource, boolean given in %sbug51291_1.php on line %d
027- bool(false)
028- array(4) {
029- ["code"]=>
030- int(1756)
031- ["message"]=>
032- string(48) "ORA-01756: %s"
033- ["offset"]=>
034- int(0)
035- ["sqltext"]=>
036- string(0) ""
037- }
038- NULL
039- 2nd call
040-
041- Warning: oci_error() expects parameter 1 to be resource, boolean given in %sbug51291_1.php on line %d
042- bool(false)
043- array(4) {
044- ["code"]=>
045- int(1756)
046- ["message"]=>
047- string(48) "ORA-01756: %s"
048- ["offset"]=>
049- int(0)
050- ["sqltext"]=>
051- string(0) ""
052- }
053- NULL
054-
055- Test 3 - Execute
056- array(4) {
057- ["code"]=>
058- int(904)
059- ["message"]=>
060- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
061- ["offset"]=>
062- int(%d)
063- ["sqltext"]=>
064- string(29) "select doesnotexist from dual"
065- }
066- 2nd call
067- array(4) {
068- ["code"]=>
069- int(904)
070- ["message"]=>
071- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
072- ["offset"]=>
073- int(%d)
074- ["sqltext"]=>
075- string(29) "select doesnotexist from dual"
076- }
077-
078- Test 4 - Execute - consecutive oci_error calls of different kinds
079- bool(false)
080- bool(false)
081- array(4) {
082- ["code"]=>
083- int(904)
084- ["message"]=>
085- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
086- ["offset"]=>
087- int(%d)
088- ["sqltext"]=>
089- string(29) "select doesnotexist from dual"
090- }
091- 2nd call
092- bool(false)
093- bool(false)
094- array(4) {
095- ["code"]=>
096- int(904)
097- ["message"]=>
098- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
099- ["offset"]=>
100- int(%d)
101- ["sqltext"]=>
102- string(29) "select doesnotexist from dual"
103- }
104-
105- Test 5 - Execute - after oci_rollback
106- bool(false)
107- bool(false)
108- array(4) {
109- ["code"]=>
110- int(904)
111- ["message"]=>
112- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
113- ["offset"]=>
114- int(%d)
115- ["sqltext"]=>
116- string(29) "select doesnotexist from dual"
117- }
118- Rollback status is true
119- 2nd call after oci_rollback
120- bool(false)
121- bool(false)
122- array(4) {
123- ["code"]=>
124- int(904)
125- ["message"]=>
126- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
127- ["offset"]=>
128- int(%d)
129- ["sqltext"]=>
130- string(29) "select doesnotexist from dual"
131- }
132-
133- Test 6 - Execute - after successful 2nd query with new handle
134- bool(false)
135- bool(false)
136- array(4) {
137- ["code"]=>
138- int(904)
139- ["message"]=>
140- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
141- ["offset"]=>
142- int(%d)
143- ["sqltext"]=>
144- string(29) "select doesnotexist from dual"
145- }
146- Execute status is true
147- 2nd call after successful execute
148- bool(false)
149- bool(false)
150- array(4) {
151- ["code"]=>
152- int(904)
153- ["message"]=>
154- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
155- ["offset"]=>
156- int(%d)
157- ["sqltext"]=>
158- string(29) "select doesnotexist from dual"
159- }
160- bool(false)
161-
162- Test 7 - Execute - after successful 2nd query with same handle
163- bool(false)
164- bool(false)
165- array(4) {
166- ["code"]=>
167- int(904)
168- ["message"]=>
169- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
170- ["offset"]=>
171- int(%d)
172- ["sqltext"]=>
173- string(29) "select doesnotexist from dual"
174- }
175- Execute status is true
176- 2nd call after successful execute
177- bool(false)
178- bool(false)
179- bool(false)
180-
181- Test 8 - Execute - after unsuccessful 2nd query with new handle
182- bool(false)
183- bool(false)
184- array(4) {
185- ["code"]=>
186- int(904)
187- ["message"]=>
188- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
189- ["offset"]=>
190- int(%d)
191- ["sqltext"]=>
192- string(29) "select doesnotexist from dual"
193- }
194-
195- Warning: oci_execute(): ORA-00904: %sREALLYNOTHERE%s in %sbug51291_1.php on line %d
196- Execute status is false
197- 2nd call after unsuccessful execute
198- bool(false)
199- bool(false)
200- array(4) {
201- ["code"]=>
202- int(904)
203- ["message"]=>
204- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
205- ["offset"]=>
206- int(%d)
207- ["sqltext"]=>
208- string(29) "select doesnotexist from dual"
209- }
210- array(4) {
211- ["code"]=>
212- int(904)
213- ["message"]=>
214- string(%d) "ORA-00904%sREALLYNOTHERE%s"
215- ["offset"]=>
216- int(%d)
217- ["sqltext"]=>
218- string(30) "select reallynothere from dual"
219- }
220-
221- Test 9 - Execute - after unsuccessful 2nd query with same handle
222- bool(false)
223- bool(false)
224- array(4) {
225- ["code"]=>
226- int(904)
227- ["message"]=>
228- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
229- ["offset"]=>
230- int(%d)
231- ["sqltext"]=>
232- string(29) "select doesnotexist from dual"
233- }
234-
235- Warning: oci_execute(): ORA-00904: %sREALLYNOTHERE%s in %sbug51291_1.php on line %d
236- Execute status is false
237- 2nd call after unsuccessful execute
238- bool(false)
239- bool(false)
240- array(4) {
241- ["code"]=>
242- int(904)
243- ["message"]=>
244- string(%d) "ORA-00904%sREALLYNOTHERE%s"
245- ["offset"]=>
246- int(%d)
247- ["sqltext"]=>
248- string(30) "select reallynothere from dual"
249- }
250- ===DONE===
1 (33%)
001+ Fatal error: connect.inc: Failed to connect as 'system' to 'localhost/XE': ORA-12541: TNS: Kein Listener in /home/jwe/itenos/php-5.3.18/ext/oci8/tests/connect.inc on line 14
001- Test 1 - Parse
002- array(4) {
003- ["code"]=>
004- int(1756)
005- ["message"]=>
006- string(48) "ORA-01756: %s"
007- ["offset"]=>
008- int(0)
009- ["sqltext"]=>
010- string(0) ""
011- }
012- 2nd call
013- array(4) {
014- ["code"]=>
015- int(1756)
016- ["message"]=>
017- string(48) "ORA-01756: %s"
018- ["offset"]=>
019- int(0)
020- ["sqltext"]=>
021- string(0) ""
022- }
023-
024- Test 2 - Parse
025-
026- Warning: oci_error() expects parameter 1 to be resource, boolean given in %sbug51291_1.php on line %d
027- bool(false)
028- array(4) {
029- ["code"]=>
030- int(1756)
031- ["message"]=>
032- string(48) "ORA-01756: %s"
033- ["offset"]=>
034- int(0)
035- ["sqltext"]=>
036- string(0) ""
037- }
038- NULL
039- 2nd call
040-
041- Warning: oci_error() expects parameter 1 to be resource, boolean given in %sbug51291_1.php on line %d
042- bool(false)
043- array(4) {
044- ["code"]=>
045- int(1756)
046- ["message"]=>
047- string(48) "ORA-01756: %s"
048- ["offset"]=>
049- int(0)
050- ["sqltext"]=>
051- string(0) ""
052- }
053- NULL
054-
055- Test 3 - Execute
056- array(4) {
057- ["code"]=>
058- int(904)
059- ["message"]=>
060- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
061- ["offset"]=>
062- int(%d)
063- ["sqltext"]=>
064- string(29) "select doesnotexist from dual"
065- }
066- 2nd call
067- array(4) {
068- ["code"]=>
069- int(904)
070- ["message"]=>
071- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
072- ["offset"]=>
073- int(%d)
074- ["sqltext"]=>
075- string(29) "select doesnotexist from dual"
076- }
077-
078- Test 4 - Execute - consecutive oci_error calls of different kinds
079- bool(false)
080- bool(false)
081- array(4) {
082- ["code"]=>
083- int(904)
084- ["message"]=>
085- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
086- ["offset"]=>
087- int(%d)
088- ["sqltext"]=>
089- string(29) "select doesnotexist from dual"
090- }
091- 2nd call
092- bool(false)
093- bool(false)
094- array(4) {
095- ["code"]=>
096- int(904)
097- ["message"]=>
098- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
099- ["offset"]=>
100- int(%d)
101- ["sqltext"]=>
102- string(29) "select doesnotexist from dual"
103- }
104-
105- Test 5 - Execute - after oci_rollback
106- bool(false)
107- bool(false)
108- array(4) {
109- ["code"]=>
110- int(904)
111- ["message"]=>
112- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
113- ["offset"]=>
114- int(%d)
115- ["sqltext"]=>
116- string(29) "select doesnotexist from dual"
117- }
118- Rollback status is true
119- 2nd call after oci_rollback
120- bool(false)
121- bool(false)
122- array(4) {
123- ["code"]=>
124- int(904)
125- ["message"]=>
126- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
127- ["offset"]=>
128- int(%d)
129- ["sqltext"]=>
130- string(29) "select doesnotexist from dual"
131- }
132-
133- Test 6 - Execute - after successful 2nd query with new handle
134- bool(false)
135- bool(false)
136- array(4) {
137- ["code"]=>
138- int(904)
139- ["message"]=>
140- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
141- ["offset"]=>
142- int(%d)
143- ["sqltext"]=>
144- string(29) "select doesnotexist from dual"
145- }
146- Execute status is true
147- 2nd call after successful execute
148- bool(false)
149- bool(false)
150- array(4) {
151- ["code"]=>
152- int(904)
153- ["message"]=>
154- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
155- ["offset"]=>
156- int(%d)
157- ["sqltext"]=>
158- string(29) "select doesnotexist from dual"
159- }
160- bool(false)
161-
162- Test 7 - Execute - after successful 2nd query with same handle
163- bool(false)
164- bool(false)
165- array(4) {
166- ["code"]=>
167- int(904)
168- ["message"]=>
169- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
170- ["offset"]=>
171- int(%d)
172- ["sqltext"]=>
173- string(29) "select doesnotexist from dual"
174- }
175- Execute status is true
176- 2nd call after successful execute
177- bool(false)
178- bool(false)
179- bool(false)
180-
181- Test 8 - Execute - after unsuccessful 2nd query with new handle
182- bool(false)
183- bool(false)
184- array(4) {
185- ["code"]=>
186- int(904)
187- ["message"]=>
188- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
189- ["offset"]=>
190- int(%d)
191- ["sqltext"]=>
192- string(29) "select doesnotexist from dual"
193- }
194-
195- Warning: oci_execute(): ORA-00904: %sREALLYNOTHERE%s in %sbug51291_1.php on line %d
196- Execute status is false
197- 2nd call after unsuccessful execute
198- bool(false)
199- bool(false)
200- array(4) {
201- ["code"]=>
202- int(904)
203- ["message"]=>
204- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
205- ["offset"]=>
206- int(%d)
207- ["sqltext"]=>
208- string(29) "select doesnotexist from dual"
209- }
210- array(4) {
211- ["code"]=>
212- int(904)
213- ["message"]=>
214- string(%d) "ORA-00904%sREALLYNOTHERE%s"
215- ["offset"]=>
216- int(%d)
217- ["sqltext"]=>
218- string(30) "select reallynothere from dual"
219- }
220-
221- Test 9 - Execute - after unsuccessful 2nd query with same handle
222- bool(false)
223- bool(false)
224- array(4) {
225- ["code"]=>
226- int(904)
227- ["message"]=>
228- string(%d) "ORA-00904:%sDOESNOTEXIST%s"
229- ["offset"]=>
230- int(%d)
231- ["sqltext"]=>
232- string(29) "select doesnotexist from dual"
233- }
234-
235- Warning: oci_execute(): ORA-00904: %sREALLYNOTHERE%s in %sbug51291_1.php on line %d
236- Execute status is false
237- 2nd call after unsuccessful execute
238- bool(false)
239- bool(false)
240- array(4) {
241- ["code"]=>
242- int(904)
243- ["message"]=>
244- string(%d) "ORA-00904%sREALLYNOTHERE%s"
245- ["offset"]=>
246- int(%d)
247- ["sqltext"]=>
248- string(30) "select reallynothere from dual"
249- }
250- ===DONE===
1 (33%)