Test: /ext/oci8/tests/bug45458.phpt - Version 5.4.30        

Bug #45458 oci_fetch_all add NULL char to field name when field name is numeric
Submitted: 2008-07-08 15:14:56 Modified: 2008-08-28 06:23:37
From: leopoldo.donati Assigned: sixd
Status: Closed Package: OCI8 related
PHP Version: 5.2.6 OS: Linux RHAS4

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ Fatal error: connect.inc: Failed to connect as 'system' to 'localhost/XE': ORA-12541: TNS:no listener in /usr/local/src/php-5.4.30/ext/oci8/tests/connect.inc on line 14
001- Test 1
002- array(1) {
003- [0]=>
004- array(2) {
005- ["A"]=>
006- string(1) "X"
007- [20]=>
008- string(1) "X"
009- }
010- }
011- array(2) {
012- ["A"]=>
013- string(1) "X"
014- [20]=>
015- string(1) "X"
016- }
017- string(1) "X"
018- string(1) "X"
019- Test 2
020- array(2) {
021- ["A"]=>
022- array(1) {
023- [0]=>
024- string(1) "X"
025- }
026- [20]=>
027- array(1) {
028- [0]=>
029- string(1) "X"
030- }
031- }
032- array(1) {
033- [0]=>
034- string(1) "X"
035- }
036- array(1) {
037- [0]=>
038- string(1) "X"
039- }
040- string(1) "X"
041- string(1) "X"
042- ===DONE===