diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-12-14 18:20:23 +0000 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-12-21 13:23:02 +0000 |
commit | e5eb9530ab13a174feee83a81d87bfceee37bd88 (patch) | |
tree | 76ba0f9806f6ad369cacb9c0e9b408fc0a8ba721 /Zend/tests/compare_003.phpt | |
parent | e20cbdbe97cbda010fd386cb35a474aa255cd7f6 (diff) | |
download | php-git-e5eb9530ab13a174feee83a81d87bfceee37bd88.tar.gz |
Use "float" and "integer" in typehint and zpp errors
Diffstat (limited to 'Zend/tests/compare_003.phpt')
-rw-r--r-- | Zend/tests/compare_003.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/compare_003.phpt b/Zend/tests/compare_003.phpt index 9327ee58bc..3b293d1daa 100644 --- a/Zend/tests/compare_003.phpt +++ b/Zend/tests/compare_003.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)#1 (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)#2 (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)#3 (0) {} float(2.5) <= array(0) {} float(2.5) > int(-2147483648) @@ -260,7 +260,7 @@ object(stdClass)#1 (0) {} Notice: Object of class stdClass could not be converted to int in %s on line %d <= int(1) object(stdClass)#1 (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)#1 (0) {} Notice: Object of class stdClass could not be converted to int in %s on line %d @@ -285,7 +285,7 @@ object(stdClass)#2 (0) {} Notice: Object of class stdClass could not be converted to int in %s on line %d <= int(1) object(stdClass)#2 (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)#2 (0) {} Notice: Object of class stdClass could not be converted to int in %s on line %d @@ -310,7 +310,7 @@ object(test)#3 (0) {} Notice: Object of class test could not be converted to int in %s on line %d <= int(1) object(test)#3 (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)#3 (0) {} Notice: Object of class test could not be converted to int in %s on line %d |