summaryrefslogtreecommitdiff
path: root/ext/oci8
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-12-14 18:20:23 +0000
committerAndrea Faulds <ajf@ajf.me>2014-12-21 13:23:02 +0000
commite5eb9530ab13a174feee83a81d87bfceee37bd88 (patch)
tree76ba0f9806f6ad369cacb9c0e9b408fc0a8ba721 /ext/oci8
parente20cbdbe97cbda010fd386cb35a474aa255cd7f6 (diff)
downloadphp-git-e5eb9530ab13a174feee83a81d87bfceee37bd88.tar.gz
Use "float" and "integer" in typehint and zpp errors
Diffstat (limited to 'ext/oci8')
-rw-r--r--ext/oci8/tests/lob_002.phpt4
-rw-r--r--ext/oci8/tests/privileged_connect.phpt2
-rw-r--r--ext/oci8/tests/privileged_connect1.phpt2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/oci8/tests/lob_002.phpt b/ext/oci8/tests/lob_002.phpt
index 7417f9c127..912c27b989 100644
--- a/ext/oci8/tests/lob_002.phpt
+++ b/ext/oci8/tests/lob_002.phpt
@@ -62,13 +62,13 @@ object(OCI-Lob)#%d (1) {
}
int(0)
-Warning: OCI-Lob::write() expects parameter 2 to be long, string given in %slob_002.php on line %d
+Warning: OCI-Lob::write() expects parameter 2 to be integer, 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 long, string given in %slob_002.php on line %d
+Warning: OCI-Lob::seek() expects parameter 1 to be integer, string given in %slob_002.php on line %d
NULL
bool(false)
int(40004)
diff --git a/ext/oci8/tests/privileged_connect.phpt b/ext/oci8/tests/privileged_connect.phpt
index 39122240a7..98fe3ed225 100644
--- a/ext/oci8/tests/privileged_connect.phpt
+++ b/ext/oci8/tests/privileged_connect.phpt
@@ -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 long, string given in %s on line %d
+Warning: oci_connect() expects parameter 5 to be integer, string given in %s on line %d
Done
diff --git a/ext/oci8/tests/privileged_connect1.phpt b/ext/oci8/tests/privileged_connect1.phpt
index 44bb2f60a8..9581675ad2 100644
--- a/ext/oci8/tests/privileged_connect1.phpt
+++ b/ext/oci8/tests/privileged_connect1.phpt
@@ -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 long, string given in %s on line %d
+Warning: oci_connect() expects parameter 5 to be integer, string given in %s on line %d
Done