]> granicus.if.org Git - php/commitdiff
Reduce Oracle version-dependent diffs. Make PHP 5/6 compatible
authorChristopher Jones <sixd@php.net>
Sun, 19 Jul 2009 16:04:57 +0000 (16:04 +0000)
committerChristopher Jones <sixd@php.net>
Sun, 19 Jul 2009 16:04:57 +0000 (16:04 +0000)
ext/oci8/tests/extauth_01.phpt
ext/oci8/tests/extauth_02.phpt
ext/oci8/tests/extauth_03.phpt

index 5b94294ddfbfd6f70a2811115cebb018f0ee7b42..e054a221627392cf3fedaadfac787f6587863582 100644 (file)
@@ -141,56 +141,56 @@ Test 7
 
 Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
 array(4) {
-  [u"code"]=>
+  [%u|b%"code"]=>
   int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"message"]=>
+  %unicode|string%(65) "ORA-12154: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 8
 
 Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
 array(4) {
-  [u"code"]=>
+  [%u|b%"code"]=>
   int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"message"]=>
+  %unicode|string%(65) "ORA-12154: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 9
 
-Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
+Warning: oci_connect(): ORA-%d: TNS:%s in %s on line %d
 array(4) {
-  [u"code"]=>
-  int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"code"]=>
+  int(%d)
+  [%u|b%"message"]=>
+  %unicode|string%(%d) "ORA-%d: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 10
 
-Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
+Warning: oci_connect(): ORA-%d: TNS:%s in %s on line %d
 array(4) {
-  [u"code"]=>
-  int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"code"]=>
+  int(%d)
+  [%u|b%"message"]=>
+  %unicode|string%(%d) "ORA-%d: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 ===DONE===
index ca7283aa8cc9ae78b48ebcd845b7595caec314d7..b2752296111c844bd4ca59fc8af0d99e08eed229 100644 (file)
@@ -141,56 +141,56 @@ Test 7
 
 Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
 array(4) {
-  [u"code"]=>
+  [%u|b%"code"]=>
   int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"message"]=>
+  %unicode|string%(65) "ORA-12154: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 8
 
 Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
 array(4) {
-  [u"code"]=>
+  [%u|b%"code"]=>
   int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"message"]=>
+  %unicode|string%(65) "ORA-12154: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 9
 
-Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
+Warning: oci_new_connect(): ORA-%d: TNS:%s %s on line %d
 array(4) {
-  [u"code"]=>
-  int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"code"]=>
+  int(%d)
+  [%u|b%"message"]=>
+  %unicode|string%(%d) "ORA-%d: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 10
 
-Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
+Warning: oci_new_connect(): ORA-%d: TNS:%s %s on line %d
 array(4) {
-  [u"code"]=>
-  int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"code"]=>
+  int(%d)
+  [%u|b%"message"]=>
+  %unicode|string%(%d) "ORA-%d: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 ===DONE===
index 9c30bc58fd0fe743c0e2ff47ddf04c0adf66a9a5..50be0e7243b5bc3e3d2a42e2e3acfccb5442f3ef 100644 (file)
@@ -141,56 +141,56 @@ Test 7
 
 Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
 array(4) {
-  [u"code"]=>
+  [%u|b%"code"]=>
   int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"message"]=>
+  %unicode|string%(65) "ORA-12154: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 8
 
 Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
 array(4) {
-  [u"code"]=>
+  [%u|b%"code"]=>
   int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"message"]=>
+  %unicode|string%(65) "ORA-12154: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 9
 
-Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
+Warning: oci_pconnect(): ORA-%d: TNS:%s in %s on line %d
 array(4) {
-  [u"code"]=>
-  int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"code"]=>
+  int(%d)
+  [%u|b%"message"]=>
+  %unicode|string%(%d) "ORA-%d: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 Test 10
 
-Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d
+Warning: oci_pconnect(): ORA-%d: TNS:%s in %s on line %d
 array(4) {
-  [u"code"]=>
-  int(12154)
-  [u"message"]=>
-  unicode(65) "ORA-12154: %s"
-  [u"offset"]=>
+  [%u|b%"code"]=>
+  int(%d)
+  [%u|b%"message"]=>
+  %unicode|string%(%d) "ORA-%d: %s"
+  [%u|b%"offset"]=>
   int(0)
-  [u"sqltext"]=>
-  unicode(0) ""
+  [%u|b%"sqltext"]=>
+  %unicode|string%(0) ""
 }
 bool(false)
 ===DONE===