Make tests portable across PHP 7.x versions

This commit is contained in:
Christopher Jones 2018-09-24 17:01:13 +10:00
parent 338802b543
commit 3d497f884f
5 changed files with 7 additions and 7 deletions

View File

@ -167,7 +167,7 @@ array(4) {
Test 2 - Parse
Warning: oci_error() expects parameter 1 to be resource, boolean given in %sbug51291_1.php on line %d
Warning: oci_error() expects parameter 1 to be resource, bool%sgiven in %sbug51291_1.php on line %d
bool(false)
array(4) {
["code"]=>
@ -182,7 +182,7 @@ array(4) {
NULL
2nd call
Warning: oci_error() expects parameter 1 to be resource, boolean given in %sbug51291_1.php on line %d
Warning: oci_error() expects parameter 1 to be resource, bool%sgiven in %sbug51291_1.php on line %d
bool(false)
array(4) {
["code"]=>

View File

@ -62,13 +62,13 @@ object(OCI-Lob)#%d (1) {
}
int(0)
Warning: OCI-Lob::write() expects parameter 2 to be integer, string given in %slob_002.php on line %d
Warning: OCI-Lob::write() expects parameter 2 to be int%s string given in %slob_002.php on line %d
NULL
int(4)
int(40000)
int(40004)
Warning: OCI-Lob::seek() expects parameter 1 to be integer, string given in %slob_002.php on line %d
Warning: OCI-Lob::seek() expects parameter 1 to be int%s string given in %slob_002.php on line %d
NULL
bool(false)
int(40004)

View File

@ -73,7 +73,7 @@ NULL
bool(true)
int(3)
Warning: oci_lob_seek() expects parameter 1 to be OCI-Lob, integer given in %s on line %d
Warning: oci_lob_seek() expects parameter 1 to be OCI-Lob, int%sgiven in %s on line %d
NULL
bool(true)
array(2) {

View File

@ -21,5 +21,5 @@ Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_c
Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d
Warning: oci_connect() expects parameter 5 to be integer, string given in %s on line %d
Warning: oci_connect() expects parameter 5 to be int%s string given in %s on line %d
Done

View File

@ -23,5 +23,5 @@ Warning: oci_connect(): ORA-%d: %s in %s on line %d
Warning: oci_connect(): Invalid session mode specified (-1) in %s on line %d
Warning: oci_connect() expects parameter 5 to be integer, string given in %s on line %d
Warning: oci_connect() expects parameter 5 to be int%s string given in %s on line %d
Done