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

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

Count Diff
2 (67%)
1 (33%)
001+ Warning: oci_new_connect(): ORA-12541: TNS:no listener in %s/connect_scope_try2.php on line 13
002+
003+ Warning: oci_parse() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.3.18/ext/oci8/tests/details.inc on line 52
004+
005+ Warning: oci_error() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.3.18/ext/oci8/tests/details.inc on line 54
006+ drop table scope_try2_tab
007+
008+
009+ Warning: oci_parse() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.3.18/ext/oci8/tests/details.inc on line 52
010+
011+ Warning: oci_error() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.3.18/ext/oci8/tests/details.inc on line 54
012+ create table scope_try2_tab (c1 number)
013+
014+ Test 1
015+ Caught Exception: oci_connect(): ORA-12541: TNS:no listener
016+
001- Test 1
002- Caught Exception: oci_execute(): ORA-%r(00984|57000: TT2957)%r: %s
003- resource(%d) of type (oci8 connection)
004- array(1) {
005- ["C1"]=>
006- array(0) {
007- }
008- }
009- array(1) {
010- ["C1"]=>
011- array(1) {
012- [0]=>
013- string(1) "1"
014- }
015- }
016- Done
017+ Fatal error: Uncaught exception 'Exception' with message 'Undefined variable: c' in %s/connect_scope_try2.php(25) : runtime-created function:1
018+ Stack trace:
019+ #0 %s/connect_scope_try2.php(41): __lambda_func(8, 'Undefined varia...', '/usr/local/src/...', 41, Array)
020+ #1 {main}
021+ thrown in %s/connect_scope_try2.php(25) : runtime-created function on line 1