summaryrefslogtreecommitdiff
path: root/Zend/tests/compare_001_64bit.phpt
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 /Zend/tests/compare_001_64bit.phpt
parente20cbdbe97cbda010fd386cb35a474aa255cd7f6 (diff)
downloadphp-git-e5eb9530ab13a174feee83a81d87bfceee37bd88.tar.gz
Use "float" and "integer" in typehint and zpp errors
Diffstat (limited to 'Zend/tests/compare_001_64bit.phpt')
-rw-r--r--Zend/tests/compare_001_64bit.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/compare_001_64bit.phpt b/Zend/tests/compare_001_64bit.phpt
index bc57d0fec9..6d5a175d3d 100644
--- a/Zend/tests/compare_001_64bit.phpt
+++ b/Zend/tests/compare_001_64bit.phpt
@@ -118,13 +118,13 @@ float(2.5) != NULL
float(2.5) == bool(true)
float(2.5) != bool(false)
float(2.5)
-Notice: Object of class stdClass could not be converted to double in %s on line %d
+Notice: Object of class stdClass could not be converted to float in %s on line %d
!= object(stdClass)#%d (0) {}
float(2.5)
-Notice: Object of class stdClass could not be converted to double in %s on line %d
+Notice: Object of class stdClass could not be converted to float in %s on line %d
!= object(stdClass)#%d (0) {}
float(2.5)
-Notice: Object of class test could not be converted to double in %s on line %d
+Notice: Object of class test could not be converted to float in %s on line %d
!= object(test)#%d (0) {}
float(2.5) != array(0) {}
float(2.5) != int(-9223372036854775808)
@@ -260,7 +260,7 @@ object(stdClass)#%d (0) {}
Notice: Object of class stdClass could not be converted to int in %s on line %d
== int(1)
object(stdClass)#%d (0) {}
-Notice: Object of class stdClass could not be converted to double in %s on line %d
+Notice: Object of class stdClass could not be converted to float in %s on line %d
!= float(2.5)
object(stdClass)#%d (0) {}
Notice: Object of class stdClass could not be converted to int in %s on line %d
@@ -285,7 +285,7 @@ object(stdClass)#%d (0) {}
Notice: Object of class stdClass could not be converted to int in %s on line %d
== int(1)
object(stdClass)#%d (0) {}
-Notice: Object of class stdClass could not be converted to double in %s on line %d
+Notice: Object of class stdClass could not be converted to float in %s on line %d
!= float(2.5)
object(stdClass)#%d (0) {}
Notice: Object of class stdClass could not be converted to int in %s on line %d
@@ -310,7 +310,7 @@ object(test)#%d (0) {}
Notice: Object of class test could not be converted to int in %s on line %d
== int(1)
object(test)#%d (0) {}
-Notice: Object of class test could not be converted to double in %s on line %d
+Notice: Object of class test could not be converted to float in %s on line %d
!= float(2.5)
object(test)#%d (0) {}
Notice: Object of class test could not be converted to int in %s on line %d