From: Antony Dovgal Date: Tue, 29 May 2007 11:49:09 +0000 (+0000) Subject: fix tests X-Git-Tag: RELEASE_1_4~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cb7c70cc02761714e750f14f590d04b93fd35b8;p=php fix tests --- diff --git a/Zend/tests/compare_001_64bit.phpt b/Zend/tests/compare_001_64bit.phpt index bc57d0fec9..98de1be5a3 100644 --- a/Zend/tests/compare_001_64bit.phpt +++ b/Zend/tests/compare_001_64bit.phpt @@ -387,3 +387,342 @@ string(20) "-9223372036854775808" != array(0) {} string(20) "-9223372036854775808" == int(-9223372036854775808) string(20) "-9223372036854775808" == string(20) "-9223372036854775808" Done +--UEXPECTF-- +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != unicode(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != unicode(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != unicode(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != unicode(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} == bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#1 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(stdClass)#2 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != object(test)#3 (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} != unicode(20) "-9223372036854775808" +unicode(0) "" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(0) "" == unicode(0) "" +unicode(0) "" != int(1) +unicode(0) "" != float(2.5) +unicode(0) "" == int(0) +unicode(0) "" != unicode(6) "string" +unicode(0) "" != unicode(3) "123" +unicode(0) "" != unicode(3) "2.5" +unicode(0) "" == NULL +unicode(0) "" != bool(true) +unicode(0) "" == bool(false) +unicode(0) "" != object(stdClass)#1 (0) {} +unicode(0) "" != object(stdClass)#2 (0) {} +unicode(0) "" != object(test)#3 (0) {} +unicode(0) "" != array(0) {} +unicode(0) "" != int(-9223372036854775808) +unicode(0) "" != unicode(20) "-9223372036854775808" +int(1) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) != unicode(0) "" +int(1) == int(1) +int(1) != float(2.5) +int(1) != int(0) +int(1) != unicode(6) "string" +int(1) != unicode(3) "123" +int(1) != unicode(3) "2.5" +int(1) != NULL +int(1) == bool(true) +int(1) != bool(false) +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + == object(stdClass)#1 (0) {} +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + == object(stdClass)#2 (0) {} +int(1) +Notice: Object of class test could not be converted to int in %s on line %d + == object(test)#3 (0) {} +int(1) != array(0) {} +int(1) != int(-9223372036854775808) +int(1) != unicode(20) "-9223372036854775808" +float(2.5) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) != unicode(0) "" +float(2.5) != int(1) +float(2.5) == float(2.5) +float(2.5) != int(0) +float(2.5) != unicode(6) "string" +float(2.5) != unicode(3) "123" +float(2.5) == unicode(3) "2.5" +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 + != object(stdClass)#1 (0) {} +float(2.5) +Notice: Object of class stdClass could not be converted to double 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 + != object(test)#3 (0) {} +float(2.5) != array(0) {} +float(2.5) != int(-9223372036854775808) +float(2.5) != unicode(20) "-9223372036854775808" +int(0) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) == unicode(0) "" +int(0) != int(1) +int(0) != float(2.5) +int(0) == int(0) +int(0) == unicode(6) "string" +int(0) != unicode(3) "123" +int(0) != unicode(3) "2.5" +int(0) == NULL +int(0) != bool(true) +int(0) == bool(false) +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + != object(stdClass)#1 (0) {} +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + != object(stdClass)#2 (0) {} +int(0) +Notice: Object of class test could not be converted to int in %s on line %d + != object(test)#3 (0) {} +int(0) != array(0) {} +int(0) != int(-9223372036854775808) +int(0) != unicode(20) "-9223372036854775808" +unicode(6) "string" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(6) "string" != unicode(0) "" +unicode(6) "string" != int(1) +unicode(6) "string" != float(2.5) +unicode(6) "string" == int(0) +unicode(6) "string" == unicode(6) "string" +unicode(6) "string" != unicode(3) "123" +unicode(6) "string" != unicode(3) "2.5" +unicode(6) "string" != NULL +unicode(6) "string" == bool(true) +unicode(6) "string" != bool(false) +unicode(6) "string" != object(stdClass)#1 (0) {} +unicode(6) "string" != object(stdClass)#2 (0) {} +unicode(6) "string" != object(test)#3 (0) {} +unicode(6) "string" != array(0) {} +unicode(6) "string" != int(-9223372036854775808) +unicode(6) "string" != unicode(20) "-9223372036854775808" +unicode(3) "123" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "123" != unicode(0) "" +unicode(3) "123" != int(1) +unicode(3) "123" != float(2.5) +unicode(3) "123" != int(0) +unicode(3) "123" != unicode(6) "string" +unicode(3) "123" == unicode(3) "123" +unicode(3) "123" != unicode(3) "2.5" +unicode(3) "123" != NULL +unicode(3) "123" == bool(true) +unicode(3) "123" != bool(false) +unicode(3) "123" != object(stdClass)#1 (0) {} +unicode(3) "123" != object(stdClass)#2 (0) {} +unicode(3) "123" != object(test)#3 (0) {} +unicode(3) "123" != array(0) {} +unicode(3) "123" != int(-9223372036854775808) +unicode(3) "123" != unicode(20) "-9223372036854775808" +unicode(3) "2.5" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "2.5" != unicode(0) "" +unicode(3) "2.5" != int(1) +unicode(3) "2.5" == float(2.5) +unicode(3) "2.5" != int(0) +unicode(3) "2.5" != unicode(6) "string" +unicode(3) "2.5" != unicode(3) "123" +unicode(3) "2.5" == unicode(3) "2.5" +unicode(3) "2.5" != NULL +unicode(3) "2.5" == bool(true) +unicode(3) "2.5" != bool(false) +unicode(3) "2.5" != object(stdClass)#1 (0) {} +unicode(3) "2.5" != object(stdClass)#2 (0) {} +unicode(3) "2.5" != object(test)#3 (0) {} +unicode(3) "2.5" != array(0) {} +unicode(3) "2.5" != int(-9223372036854775808) +unicode(3) "2.5" != unicode(20) "-9223372036854775808" +NULL != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL == unicode(0) "" +NULL != int(1) +NULL != float(2.5) +NULL == int(0) +NULL != unicode(6) "string" +NULL != unicode(3) "123" +NULL != unicode(3) "2.5" +NULL == NULL +NULL != bool(true) +NULL == bool(false) +NULL != object(stdClass)#1 (0) {} +NULL != object(stdClass)#2 (0) {} +NULL != object(test)#3 (0) {} +NULL == array(0) {} +NULL != int(-9223372036854775808) +NULL != unicode(20) "-9223372036854775808" +bool(true) == array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) != unicode(0) "" +bool(true) == int(1) +bool(true) == float(2.5) +bool(true) != int(0) +bool(true) == unicode(6) "string" +bool(true) == unicode(3) "123" +bool(true) == unicode(3) "2.5" +bool(true) != NULL +bool(true) == bool(true) +bool(true) != bool(false) +bool(true) == object(stdClass)#1 (0) {} +bool(true) == object(stdClass)#2 (0) {} +bool(true) == object(test)#3 (0) {} +bool(true) != array(0) {} +bool(true) == int(-9223372036854775808) +bool(true) == unicode(20) "-9223372036854775808" +bool(false) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) == unicode(0) "" +bool(false) != int(1) +bool(false) != float(2.5) +bool(false) == int(0) +bool(false) != unicode(6) "string" +bool(false) != unicode(3) "123" +bool(false) != unicode(3) "2.5" +bool(false) == NULL +bool(false) != bool(true) +bool(false) == bool(false) +bool(false) != object(stdClass)#1 (0) {} +bool(false) != object(stdClass)#2 (0) {} +bool(false) != object(test)#3 (0) {} +bool(false) == array(0) {} +bool(false) != int(-9223372036854775808) +bool(false) != unicode(20) "-9223372036854775808" +object(stdClass)#1 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#1 (0) {} != unicode(0) "" +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 + != float(2.5) +object(stdClass)#1 (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + != int(0) +object(stdClass)#1 (0) {} != unicode(6) "string" +object(stdClass)#1 (0) {} != unicode(3) "123" +object(stdClass)#1 (0) {} != unicode(3) "2.5" +object(stdClass)#1 (0) {} != NULL +object(stdClass)#1 (0) {} == bool(true) +object(stdClass)#1 (0) {} != bool(false) +object(stdClass)#1 (0) {} == object(stdClass)#1 (0) {} +object(stdClass)#1 (0) {} == object(stdClass)#2 (0) {} +object(stdClass)#1 (0) {} != object(test)#3 (0) {} +object(stdClass)#1 (0) {} != array(0) {} +object(stdClass)#1 (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + != int(-9223372036854775808) +object(stdClass)#1 (0) {} != unicode(20) "-9223372036854775808" +object(stdClass)#2 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#2 (0) {} != unicode(0) "" +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 + != float(2.5) +object(stdClass)#2 (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + != int(0) +object(stdClass)#2 (0) {} != unicode(6) "string" +object(stdClass)#2 (0) {} != unicode(3) "123" +object(stdClass)#2 (0) {} != unicode(3) "2.5" +object(stdClass)#2 (0) {} != NULL +object(stdClass)#2 (0) {} == bool(true) +object(stdClass)#2 (0) {} != bool(false) +object(stdClass)#2 (0) {} == object(stdClass)#1 (0) {} +object(stdClass)#2 (0) {} == object(stdClass)#2 (0) {} +object(stdClass)#2 (0) {} != object(test)#3 (0) {} +object(stdClass)#2 (0) {} != array(0) {} +object(stdClass)#2 (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + != int(-9223372036854775808) +object(stdClass)#2 (0) {} != unicode(20) "-9223372036854775808" +object(test)#3 (0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#3 (0) {} != unicode(0) "" +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 + != float(2.5) +object(test)#3 (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + != int(0) +object(test)#3 (0) {} != unicode(6) "string" +object(test)#3 (0) {} != unicode(3) "123" +object(test)#3 (0) {} != unicode(3) "2.5" +object(test)#3 (0) {} != NULL +object(test)#3 (0) {} == bool(true) +object(test)#3 (0) {} != bool(false) +object(test)#3 (0) {} != object(stdClass)#1 (0) {} +object(test)#3 (0) {} != object(stdClass)#2 (0) {} +object(test)#3 (0) {} == object(test)#3 (0) {} +object(test)#3 (0) {} != array(0) {} +object(test)#3 (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + != int(-9223372036854775808) +object(test)#3 (0) {} != unicode(20) "-9223372036854775808" +array(0) {} != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} != unicode(0) "" +array(0) {} != int(1) +array(0) {} != float(2.5) +array(0) {} != int(0) +array(0) {} != unicode(6) "string" +array(0) {} != unicode(3) "123" +array(0) {} != unicode(3) "2.5" +array(0) {} == NULL +array(0) {} != bool(true) +array(0) {} == bool(false) +array(0) {} != object(stdClass)#1 (0) {} +array(0) {} != object(stdClass)#2 (0) {} +array(0) {} != object(test)#3 (0) {} +array(0) {} == array(0) {} +array(0) {} != int(-9223372036854775808) +array(0) {} != unicode(20) "-9223372036854775808" +int(-9223372036854775808) != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) != unicode(0) "" +int(-9223372036854775808) != int(1) +int(-9223372036854775808) != float(2.5) +int(-9223372036854775808) != int(0) +int(-9223372036854775808) != unicode(6) "string" +int(-9223372036854775808) != unicode(3) "123" +int(-9223372036854775808) != unicode(3) "2.5" +int(-9223372036854775808) != NULL +int(-9223372036854775808) == bool(true) +int(-9223372036854775808) != bool(false) +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + != object(stdClass)#1 (0) {} +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + != object(stdClass)#2 (0) {} +int(-9223372036854775808) +Notice: Object of class test could not be converted to int in %s on line %d + != object(test)#3 (0) {} +int(-9223372036854775808) != array(0) {} +int(-9223372036854775808) == int(-9223372036854775808) +int(-9223372036854775808) == unicode(20) "-9223372036854775808" +unicode(20) "-9223372036854775808" != array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(20) "-9223372036854775808" != unicode(0) "" +unicode(20) "-9223372036854775808" != int(1) +unicode(20) "-9223372036854775808" != float(2.5) +unicode(20) "-9223372036854775808" != int(0) +unicode(20) "-9223372036854775808" != unicode(6) "string" +unicode(20) "-9223372036854775808" != unicode(3) "123" +unicode(20) "-9223372036854775808" != unicode(3) "2.5" +unicode(20) "-9223372036854775808" != NULL +unicode(20) "-9223372036854775808" == bool(true) +unicode(20) "-9223372036854775808" != bool(false) +unicode(20) "-9223372036854775808" != object(stdClass)#1 (0) {} +unicode(20) "-9223372036854775808" != object(stdClass)#2 (0) {} +unicode(20) "-9223372036854775808" != object(test)#3 (0) {} +unicode(20) "-9223372036854775808" != array(0) {} +unicode(20) "-9223372036854775808" == int(-9223372036854775808) +unicode(20) "-9223372036854775808" == unicode(20) "-9223372036854775808" +Done diff --git a/Zend/tests/compare_002_64bit.phpt b/Zend/tests/compare_002_64bit.phpt index 517e7b9432..e6fda1a6ee 100644 --- a/Zend/tests/compare_002_64bit.phpt +++ b/Zend/tests/compare_002_64bit.phpt @@ -339,3 +339,294 @@ string(20) "-9223372036854775808" !== array(0) {} string(20) "-9223372036854775808" !== int(-9223372036854775808) string(20) "-9223372036854775808" === string(20) "-9223372036854775808" Done +--UEXPECTF-- +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} === array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== unicode(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== unicode(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== unicode(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== unicode(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} !== unicode(20) "-9223372036854775808" +unicode(0) "" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(0) "" === unicode(0) "" +unicode(0) "" !== int(1) +unicode(0) "" !== float(2.5) +unicode(0) "" !== int(0) +unicode(0) "" !== unicode(6) "string" +unicode(0) "" !== unicode(3) "123" +unicode(0) "" !== unicode(3) "2.5" +unicode(0) "" !== NULL +unicode(0) "" !== bool(true) +unicode(0) "" !== bool(false) +unicode(0) "" !== object(stdClass)#%d (0) {} +unicode(0) "" !== object(stdClass)#%d (0) {} +unicode(0) "" !== object(test)#%d (0) {} +unicode(0) "" !== array(0) {} +unicode(0) "" !== int(-9223372036854775808) +unicode(0) "" !== unicode(20) "-9223372036854775808" +int(1) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) !== unicode(0) "" +int(1) === int(1) +int(1) !== float(2.5) +int(1) !== int(0) +int(1) !== unicode(6) "string" +int(1) !== unicode(3) "123" +int(1) !== unicode(3) "2.5" +int(1) !== NULL +int(1) !== bool(true) +int(1) !== bool(false) +int(1) !== object(stdClass)#%d (0) {} +int(1) !== object(stdClass)#%d (0) {} +int(1) !== object(test)#%d (0) {} +int(1) !== array(0) {} +int(1) !== int(-9223372036854775808) +int(1) !== unicode(20) "-9223372036854775808" +float(2.5) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) !== unicode(0) "" +float(2.5) !== int(1) +float(2.5) === float(2.5) +float(2.5) !== int(0) +float(2.5) !== unicode(6) "string" +float(2.5) !== unicode(3) "123" +float(2.5) !== unicode(3) "2.5" +float(2.5) !== NULL +float(2.5) !== bool(true) +float(2.5) !== bool(false) +float(2.5) !== object(stdClass)#%d (0) {} +float(2.5) !== object(stdClass)#%d (0) {} +float(2.5) !== object(test)#%d (0) {} +float(2.5) !== array(0) {} +float(2.5) !== int(-9223372036854775808) +float(2.5) !== unicode(20) "-9223372036854775808" +int(0) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) !== unicode(0) "" +int(0) !== int(1) +int(0) !== float(2.5) +int(0) === int(0) +int(0) !== unicode(6) "string" +int(0) !== unicode(3) "123" +int(0) !== unicode(3) "2.5" +int(0) !== NULL +int(0) !== bool(true) +int(0) !== bool(false) +int(0) !== object(stdClass)#%d (0) {} +int(0) !== object(stdClass)#%d (0) {} +int(0) !== object(test)#%d (0) {} +int(0) !== array(0) {} +int(0) !== int(-9223372036854775808) +int(0) !== unicode(20) "-9223372036854775808" +unicode(6) "string" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(6) "string" !== unicode(0) "" +unicode(6) "string" !== int(1) +unicode(6) "string" !== float(2.5) +unicode(6) "string" !== int(0) +unicode(6) "string" === unicode(6) "string" +unicode(6) "string" !== unicode(3) "123" +unicode(6) "string" !== unicode(3) "2.5" +unicode(6) "string" !== NULL +unicode(6) "string" !== bool(true) +unicode(6) "string" !== bool(false) +unicode(6) "string" !== object(stdClass)#%d (0) {} +unicode(6) "string" !== object(stdClass)#%d (0) {} +unicode(6) "string" !== object(test)#%d (0) {} +unicode(6) "string" !== array(0) {} +unicode(6) "string" !== int(-9223372036854775808) +unicode(6) "string" !== unicode(20) "-9223372036854775808" +unicode(3) "123" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "123" !== unicode(0) "" +unicode(3) "123" !== int(1) +unicode(3) "123" !== float(2.5) +unicode(3) "123" !== int(0) +unicode(3) "123" !== unicode(6) "string" +unicode(3) "123" === unicode(3) "123" +unicode(3) "123" !== unicode(3) "2.5" +unicode(3) "123" !== NULL +unicode(3) "123" !== bool(true) +unicode(3) "123" !== bool(false) +unicode(3) "123" !== object(stdClass)#%d (0) {} +unicode(3) "123" !== object(stdClass)#%d (0) {} +unicode(3) "123" !== object(test)#%d (0) {} +unicode(3) "123" !== array(0) {} +unicode(3) "123" !== int(-9223372036854775808) +unicode(3) "123" !== unicode(20) "-9223372036854775808" +unicode(3) "2.5" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "2.5" !== unicode(0) "" +unicode(3) "2.5" !== int(1) +unicode(3) "2.5" !== float(2.5) +unicode(3) "2.5" !== int(0) +unicode(3) "2.5" !== unicode(6) "string" +unicode(3) "2.5" !== unicode(3) "123" +unicode(3) "2.5" === unicode(3) "2.5" +unicode(3) "2.5" !== NULL +unicode(3) "2.5" !== bool(true) +unicode(3) "2.5" !== bool(false) +unicode(3) "2.5" !== object(stdClass)#%d (0) {} +unicode(3) "2.5" !== object(stdClass)#%d (0) {} +unicode(3) "2.5" !== object(test)#%d (0) {} +unicode(3) "2.5" !== array(0) {} +unicode(3) "2.5" !== int(-9223372036854775808) +unicode(3) "2.5" !== unicode(20) "-9223372036854775808" +NULL !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL !== unicode(0) "" +NULL !== int(1) +NULL !== float(2.5) +NULL !== int(0) +NULL !== unicode(6) "string" +NULL !== unicode(3) "123" +NULL !== unicode(3) "2.5" +NULL === NULL +NULL !== bool(true) +NULL !== bool(false) +NULL !== object(stdClass)#%d (0) {} +NULL !== object(stdClass)#%d (0) {} +NULL !== object(test)#%d (0) {} +NULL !== array(0) {} +NULL !== int(-9223372036854775808) +NULL !== unicode(20) "-9223372036854775808" +bool(true) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) !== unicode(0) "" +bool(true) !== int(1) +bool(true) !== float(2.5) +bool(true) !== int(0) +bool(true) !== unicode(6) "string" +bool(true) !== unicode(3) "123" +bool(true) !== unicode(3) "2.5" +bool(true) !== NULL +bool(true) === bool(true) +bool(true) !== bool(false) +bool(true) !== object(stdClass)#%d (0) {} +bool(true) !== object(stdClass)#%d (0) {} +bool(true) !== object(test)#%d (0) {} +bool(true) !== array(0) {} +bool(true) !== int(-9223372036854775808) +bool(true) !== unicode(20) "-9223372036854775808" +bool(false) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) !== unicode(0) "" +bool(false) !== int(1) +bool(false) !== float(2.5) +bool(false) !== int(0) +bool(false) !== unicode(6) "string" +bool(false) !== unicode(3) "123" +bool(false) !== unicode(3) "2.5" +bool(false) !== NULL +bool(false) !== bool(true) +bool(false) === bool(false) +bool(false) !== object(stdClass)#%d (0) {} +bool(false) !== object(stdClass)#%d (0) {} +bool(false) !== object(test)#%d (0) {} +bool(false) !== array(0) {} +bool(false) !== int(-9223372036854775808) +bool(false) !== unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} !== unicode(0) "" +object(stdClass)#%d (0) {} !== int(1) +object(stdClass)#%d (0) {} !== float(2.5) +object(stdClass)#%d (0) {} !== int(0) +object(stdClass)#%d (0) {} !== unicode(6) "string" +object(stdClass)#%d (0) {} !== unicode(3) "123" +object(stdClass)#%d (0) {} !== unicode(3) "2.5" +object(stdClass)#%d (0) {} !== NULL +object(stdClass)#%d (0) {} !== bool(true) +object(stdClass)#%d (0) {} !== bool(false) +object(stdClass)#%d (0) {} === object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} !== object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} !== object(test)#%d (0) {} +object(stdClass)#%d (0) {} !== array(0) {} +object(stdClass)#%d (0) {} !== int(-9223372036854775808) +object(stdClass)#%d (0) {} !== unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} !== unicode(0) "" +object(stdClass)#%d (0) {} !== int(1) +object(stdClass)#%d (0) {} !== float(2.5) +object(stdClass)#%d (0) {} !== int(0) +object(stdClass)#%d (0) {} !== unicode(6) "string" +object(stdClass)#%d (0) {} !== unicode(3) "123" +object(stdClass)#%d (0) {} !== unicode(3) "2.5" +object(stdClass)#%d (0) {} !== NULL +object(stdClass)#%d (0) {} !== bool(true) +object(stdClass)#%d (0) {} !== bool(false) +object(stdClass)#%d (0) {} !== object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} === object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} !== object(test)#%d (0) {} +object(stdClass)#%d (0) {} !== array(0) {} +object(stdClass)#%d (0) {} !== int(-9223372036854775808) +object(stdClass)#%d (0) {} !== unicode(20) "-9223372036854775808" +object(test)#%d (0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} !== unicode(0) "" +object(test)#%d (0) {} !== int(1) +object(test)#%d (0) {} !== float(2.5) +object(test)#%d (0) {} !== int(0) +object(test)#%d (0) {} !== unicode(6) "string" +object(test)#%d (0) {} !== unicode(3) "123" +object(test)#%d (0) {} !== unicode(3) "2.5" +object(test)#%d (0) {} !== NULL +object(test)#%d (0) {} !== bool(true) +object(test)#%d (0) {} !== bool(false) +object(test)#%d (0) {} !== object(stdClass)#%d (0) {} +object(test)#%d (0) {} !== object(stdClass)#%d (0) {} +object(test)#%d (0) {} === object(test)#%d (0) {} +object(test)#%d (0) {} !== array(0) {} +object(test)#%d (0) {} !== int(-9223372036854775808) +object(test)#%d (0) {} !== unicode(20) "-9223372036854775808" +array(0) {} !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} !== unicode(0) "" +array(0) {} !== int(1) +array(0) {} !== float(2.5) +array(0) {} !== int(0) +array(0) {} !== unicode(6) "string" +array(0) {} !== unicode(3) "123" +array(0) {} !== unicode(3) "2.5" +array(0) {} !== NULL +array(0) {} !== bool(true) +array(0) {} !== bool(false) +array(0) {} !== object(stdClass)#%d (0) {} +array(0) {} !== object(stdClass)#%d (0) {} +array(0) {} !== object(test)#%d (0) {} +array(0) {} === array(0) {} +array(0) {} !== int(-9223372036854775808) +array(0) {} !== unicode(20) "-9223372036854775808" +int(-9223372036854775808) !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) !== unicode(0) "" +int(-9223372036854775808) !== int(1) +int(-9223372036854775808) !== float(2.5) +int(-9223372036854775808) !== int(0) +int(-9223372036854775808) !== unicode(6) "string" +int(-9223372036854775808) !== unicode(3) "123" +int(-9223372036854775808) !== unicode(3) "2.5" +int(-9223372036854775808) !== NULL +int(-9223372036854775808) !== bool(true) +int(-9223372036854775808) !== bool(false) +int(-9223372036854775808) !== object(stdClass)#%d (0) {} +int(-9223372036854775808) !== object(stdClass)#%d (0) {} +int(-9223372036854775808) !== object(test)#%d (0) {} +int(-9223372036854775808) !== array(0) {} +int(-9223372036854775808) === int(-9223372036854775808) +int(-9223372036854775808) !== unicode(20) "-9223372036854775808" +unicode(20) "-9223372036854775808" !== array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(20) "-9223372036854775808" !== unicode(0) "" +unicode(20) "-9223372036854775808" !== int(1) +unicode(20) "-9223372036854775808" !== float(2.5) +unicode(20) "-9223372036854775808" !== int(0) +unicode(20) "-9223372036854775808" !== unicode(6) "string" +unicode(20) "-9223372036854775808" !== unicode(3) "123" +unicode(20) "-9223372036854775808" !== unicode(3) "2.5" +unicode(20) "-9223372036854775808" !== NULL +unicode(20) "-9223372036854775808" !== bool(true) +unicode(20) "-9223372036854775808" !== bool(false) +unicode(20) "-9223372036854775808" !== object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" !== object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" !== object(test)#%d (0) {} +unicode(20) "-9223372036854775808" !== array(0) {} +unicode(20) "-9223372036854775808" !== int(-9223372036854775808) +unicode(20) "-9223372036854775808" === unicode(20) "-9223372036854775808" +Done diff --git a/Zend/tests/compare_003_64bit.phpt b/Zend/tests/compare_003_64bit.phpt index 1f936c6e37..a3fc7d26d0 100644 --- a/Zend/tests/compare_003_64bit.phpt +++ b/Zend/tests/compare_003_64bit.phpt @@ -387,3 +387,342 @@ string(20) "-9223372036854775808" <= array(0) {} string(20) "-9223372036854775808" <= int(-9223372036854775808) string(20) "-9223372036854775808" <= string(20) "-9223372036854775808" Done +--UEXPECTF-- +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(20) "-9223372036854775808" +unicode(0) "" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(0) "" <= unicode(0) "" +unicode(0) "" <= int(1) +unicode(0) "" <= float(2.5) +unicode(0) "" <= int(0) +unicode(0) "" <= unicode(6) "string" +unicode(0) "" <= unicode(3) "123" +unicode(0) "" <= unicode(3) "2.5" +unicode(0) "" <= NULL +unicode(0) "" <= bool(true) +unicode(0) "" <= bool(false) +unicode(0) "" <= object(stdClass)#%d (0) {} +unicode(0) "" <= object(stdClass)#%d (0) {} +unicode(0) "" <= object(test)#%d (0) {} +unicode(0) "" <= array(0) {} +unicode(0) "" > int(-9223372036854775808) +unicode(0) "" <= unicode(20) "-9223372036854775808" +int(1) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) > unicode(0) "" +int(1) <= int(1) +int(1) <= float(2.5) +int(1) > int(0) +int(1) > unicode(6) "string" +int(1) <= unicode(3) "123" +int(1) <= unicode(3) "2.5" +int(1) > NULL +int(1) <= bool(true) +int(1) > bool(false) +int(1) +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class test could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(test)#%d (0) {} +int(1) <= array(0) {} +int(1) > int(-9223372036854775808) +int(1) > unicode(20) "-9223372036854775808" +float(2.5) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) > unicode(0) "" +float(2.5) > int(1) +float(2.5) <= float(2.5) +float(2.5) > int(0) +float(2.5) > unicode(6) "string" +float(2.5) <= unicode(3) "123" +float(2.5) <= unicode(3) "2.5" +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 /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > object(stdClass)#%d (0) {} +float(2.5) +Notice: Object of class stdClass could not be converted to double in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > object(stdClass)#%d (0) {} +float(2.5) +Notice: Object of class test could not be converted to double in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > object(test)#%d (0) {} +float(2.5) <= array(0) {} +float(2.5) > int(-9223372036854775808) +float(2.5) > unicode(20) "-9223372036854775808" +int(0) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) <= unicode(0) "" +int(0) <= int(1) +int(0) <= float(2.5) +int(0) <= int(0) +int(0) <= unicode(6) "string" +int(0) <= unicode(3) "123" +int(0) <= unicode(3) "2.5" +int(0) <= NULL +int(0) <= bool(true) +int(0) <= bool(false) +int(0) +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(stdClass)#%d (0) {} +int(0) +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(stdClass)#%d (0) {} +int(0) +Notice: Object of class test could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(test)#%d (0) {} +int(0) <= array(0) {} +int(0) > int(-9223372036854775808) +int(0) > unicode(20) "-9223372036854775808" +unicode(6) "string" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(6) "string" > unicode(0) "" +unicode(6) "string" <= int(1) +unicode(6) "string" <= float(2.5) +unicode(6) "string" <= int(0) +unicode(6) "string" <= unicode(6) "string" +unicode(6) "string" > unicode(3) "123" +unicode(6) "string" > unicode(3) "2.5" +unicode(6) "string" > NULL +unicode(6) "string" <= bool(true) +unicode(6) "string" > bool(false) +unicode(6) "string" <= object(stdClass)#%d (0) {} +unicode(6) "string" <= object(stdClass)#%d (0) {} +unicode(6) "string" <= object(test)#%d (0) {} +unicode(6) "string" <= array(0) {} +unicode(6) "string" > int(-9223372036854775808) +unicode(6) "string" > unicode(20) "-9223372036854775808" +unicode(3) "123" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "123" > unicode(0) "" +unicode(3) "123" > int(1) +unicode(3) "123" > float(2.5) +unicode(3) "123" > int(0) +unicode(3) "123" <= unicode(6) "string" +unicode(3) "123" <= unicode(3) "123" +unicode(3) "123" > unicode(3) "2.5" +unicode(3) "123" > NULL +unicode(3) "123" <= bool(true) +unicode(3) "123" > bool(false) +unicode(3) "123" <= object(stdClass)#%d (0) {} +unicode(3) "123" <= object(stdClass)#%d (0) {} +unicode(3) "123" <= object(test)#%d (0) {} +unicode(3) "123" <= array(0) {} +unicode(3) "123" > int(-9223372036854775808) +unicode(3) "123" > unicode(20) "-9223372036854775808" +unicode(3) "2.5" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "2.5" > unicode(0) "" +unicode(3) "2.5" > int(1) +unicode(3) "2.5" <= float(2.5) +unicode(3) "2.5" > int(0) +unicode(3) "2.5" <= unicode(6) "string" +unicode(3) "2.5" <= unicode(3) "123" +unicode(3) "2.5" <= unicode(3) "2.5" +unicode(3) "2.5" > NULL +unicode(3) "2.5" <= bool(true) +unicode(3) "2.5" > bool(false) +unicode(3) "2.5" <= object(stdClass)#%d (0) {} +unicode(3) "2.5" <= object(stdClass)#%d (0) {} +unicode(3) "2.5" <= object(test)#%d (0) {} +unicode(3) "2.5" <= array(0) {} +unicode(3) "2.5" > int(-9223372036854775808) +unicode(3) "2.5" > unicode(20) "-9223372036854775808" +NULL <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL <= unicode(0) "" +NULL <= int(1) +NULL <= float(2.5) +NULL <= int(0) +NULL <= unicode(6) "string" +NULL <= unicode(3) "123" +NULL <= unicode(3) "2.5" +NULL <= NULL +NULL <= bool(true) +NULL <= bool(false) +NULL <= object(stdClass)#%d (0) {} +NULL <= object(stdClass)#%d (0) {} +NULL <= object(test)#%d (0) {} +NULL <= array(0) {} +NULL <= int(-9223372036854775808) +NULL <= unicode(20) "-9223372036854775808" +bool(true) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) > unicode(0) "" +bool(true) <= int(1) +bool(true) <= float(2.5) +bool(true) > int(0) +bool(true) <= unicode(6) "string" +bool(true) <= unicode(3) "123" +bool(true) <= unicode(3) "2.5" +bool(true) > NULL +bool(true) <= bool(true) +bool(true) > bool(false) +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(test)#%d (0) {} +bool(true) > array(0) {} +bool(true) <= int(-9223372036854775808) +bool(true) <= unicode(20) "-9223372036854775808" +bool(false) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) <= unicode(0) "" +bool(false) <= int(1) +bool(false) <= float(2.5) +bool(false) <= int(0) +bool(false) <= unicode(6) "string" +bool(false) <= unicode(3) "123" +bool(false) <= unicode(3) "2.5" +bool(false) <= NULL +bool(false) <= bool(true) +bool(false) <= bool(false) +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(test)#%d (0) {} +bool(false) <= array(0) {} +bool(false) <= int(-9223372036854775808) +bool(false) <= unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > unicode(0) "" +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= int(1) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to double in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > int(0) +object(stdClass)#%d (0) {} > unicode(6) "string" +object(stdClass)#%d (0) {} > unicode(3) "123" +object(stdClass)#%d (0) {} > unicode(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > unicode(0) "" +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= int(1) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to double in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > int(0) +object(stdClass)#%d (0) {} > unicode(6) "string" +object(stdClass)#%d (0) {} > unicode(3) "123" +object(stdClass)#%d (0) {} > unicode(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > unicode(20) "-9223372036854775808" +object(test)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} > unicode(0) "" +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= int(1) +object(test)#%d (0) {} +Notice: Object of class test could not be converted to double in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= float(2.5) +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > int(0) +object(test)#%d (0) {} > unicode(6) "string" +object(test)#%d (0) {} > unicode(3) "123" +object(test)#%d (0) {} > unicode(3) "2.5" +object(test)#%d (0) {} > NULL +object(test)#%d (0) {} <= bool(true) +object(test)#%d (0) {} > bool(false) +object(test)#%d (0) {} <= object(stdClass)#%d (0) {} +object(test)#%d (0) {} <= object(stdClass)#%d (0) {} +object(test)#%d (0) {} <= object(test)#%d (0) {} +object(test)#%d (0) {} > array(0) {} +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + > int(-9223372036854775808) +object(test)#%d (0) {} > unicode(20) "-9223372036854775808" +array(0) {} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} > unicode(0) "" +array(0) {} > int(1) +array(0) {} > float(2.5) +array(0) {} > int(0) +array(0) {} > unicode(6) "string" +array(0) {} > unicode(3) "123" +array(0) {} > unicode(3) "2.5" +array(0) {} <= NULL +array(0) {} <= bool(true) +array(0) {} <= bool(false) +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(test)#%d (0) {} +array(0) {} <= array(0) {} +array(0) {} > int(-9223372036854775808) +array(0) {} > unicode(20) "-9223372036854775808" +int(-9223372036854775808) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) <= unicode(0) "" +int(-9223372036854775808) <= int(1) +int(-9223372036854775808) <= float(2.5) +int(-9223372036854775808) <= int(0) +int(-9223372036854775808) <= unicode(6) "string" +int(-9223372036854775808) <= unicode(3) "123" +int(-9223372036854775808) <= unicode(3) "2.5" +int(-9223372036854775808) > NULL +int(-9223372036854775808) <= bool(true) +int(-9223372036854775808) > bool(false) +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class test could not be converted to int in /local/qa/head/Zend/tests/compare_003_64bit.php on line 38 + <= object(test)#%d (0) {} +int(-9223372036854775808) <= array(0) {} +int(-9223372036854775808) <= int(-9223372036854775808) +int(-9223372036854775808) <= unicode(20) "-9223372036854775808" +unicode(20) "-9223372036854775808" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(20) "-9223372036854775808" > unicode(0) "" +unicode(20) "-9223372036854775808" <= int(1) +unicode(20) "-9223372036854775808" <= float(2.5) +unicode(20) "-9223372036854775808" <= int(0) +unicode(20) "-9223372036854775808" <= unicode(6) "string" +unicode(20) "-9223372036854775808" <= unicode(3) "123" +unicode(20) "-9223372036854775808" <= unicode(3) "2.5" +unicode(20) "-9223372036854775808" > NULL +unicode(20) "-9223372036854775808" <= bool(true) +unicode(20) "-9223372036854775808" > bool(false) +unicode(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" <= object(test)#%d (0) {} +unicode(20) "-9223372036854775808" <= array(0) {} +unicode(20) "-9223372036854775808" <= int(-9223372036854775808) +unicode(20) "-9223372036854775808" <= unicode(20) "-9223372036854775808" +Done diff --git a/Zend/tests/compare_004_64bit.phpt b/Zend/tests/compare_004_64bit.phpt index 36bdaa78ee..57f9d0025b 100644 --- a/Zend/tests/compare_004_64bit.phpt +++ b/Zend/tests/compare_004_64bit.phpt @@ -387,3 +387,342 @@ string(20) "-9223372036854775808" < array(0) {} string(20) "-9223372036854775808" >= int(-9223372036854775808) string(20) "-9223372036854775808" >= string(20) "-9223372036854775808" Done +--UEXPECTF-- +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(20) "-9223372036854775808" +unicode(0) "" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(0) "" >= unicode(0) "" +unicode(0) "" < int(1) +unicode(0) "" < float(2.5) +unicode(0) "" >= int(0) +unicode(0) "" < unicode(6) "string" +unicode(0) "" < unicode(3) "123" +unicode(0) "" < unicode(3) "2.5" +unicode(0) "" >= NULL +unicode(0) "" < bool(true) +unicode(0) "" >= bool(false) +unicode(0) "" < object(stdClass)#%d (0) {} +unicode(0) "" < object(stdClass)#%d (0) {} +unicode(0) "" < object(test)#%d (0) {} +unicode(0) "" < array(0) {} +unicode(0) "" >= int(-9223372036854775808) +unicode(0) "" < unicode(20) "-9223372036854775808" +int(1) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) >= unicode(0) "" +int(1) >= int(1) +int(1) < float(2.5) +int(1) >= int(0) +int(1) >= unicode(6) "string" +int(1) < unicode(3) "123" +int(1) < unicode(3) "2.5" +int(1) >= NULL +int(1) >= bool(true) +int(1) >= bool(false) +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class test could not be converted to int in %s on line %d + >= object(test)#%d (0) {} +int(1) < array(0) {} +int(1) >= int(-9223372036854775808) +int(1) >= unicode(20) "-9223372036854775808" +float(2.5) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) >= unicode(0) "" +float(2.5) >= int(1) +float(2.5) >= float(2.5) +float(2.5) >= int(0) +float(2.5) >= unicode(6) "string" +float(2.5) < unicode(3) "123" +float(2.5) >= unicode(3) "2.5" +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 + >= object(stdClass)#%d (0) {} +float(2.5) +Notice: Object of class stdClass could not be converted to double 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 + >= object(test)#%d (0) {} +float(2.5) < array(0) {} +float(2.5) >= int(-9223372036854775808) +float(2.5) >= unicode(20) "-9223372036854775808" +int(0) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) >= unicode(0) "" +int(0) < int(1) +int(0) < float(2.5) +int(0) >= int(0) +int(0) >= unicode(6) "string" +int(0) < unicode(3) "123" +int(0) < unicode(3) "2.5" +int(0) >= NULL +int(0) < bool(true) +int(0) >= bool(false) +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(0) +Notice: Object of class test could not be converted to int in %s on line %d + < object(test)#%d (0) {} +int(0) < array(0) {} +int(0) >= int(-9223372036854775808) +int(0) >= unicode(20) "-9223372036854775808" +unicode(6) "string" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(6) "string" >= unicode(0) "" +unicode(6) "string" < int(1) +unicode(6) "string" < float(2.5) +unicode(6) "string" >= int(0) +unicode(6) "string" >= unicode(6) "string" +unicode(6) "string" >= unicode(3) "123" +unicode(6) "string" >= unicode(3) "2.5" +unicode(6) "string" >= NULL +unicode(6) "string" >= bool(true) +unicode(6) "string" >= bool(false) +unicode(6) "string" < object(stdClass)#%d (0) {} +unicode(6) "string" < object(stdClass)#%d (0) {} +unicode(6) "string" < object(test)#%d (0) {} +unicode(6) "string" < array(0) {} +unicode(6) "string" >= int(-9223372036854775808) +unicode(6) "string" >= unicode(20) "-9223372036854775808" +unicode(3) "123" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "123" >= unicode(0) "" +unicode(3) "123" >= int(1) +unicode(3) "123" >= float(2.5) +unicode(3) "123" >= int(0) +unicode(3) "123" < unicode(6) "string" +unicode(3) "123" >= unicode(3) "123" +unicode(3) "123" >= unicode(3) "2.5" +unicode(3) "123" >= NULL +unicode(3) "123" >= bool(true) +unicode(3) "123" >= bool(false) +unicode(3) "123" < object(stdClass)#%d (0) {} +unicode(3) "123" < object(stdClass)#%d (0) {} +unicode(3) "123" < object(test)#%d (0) {} +unicode(3) "123" < array(0) {} +unicode(3) "123" >= int(-9223372036854775808) +unicode(3) "123" >= unicode(20) "-9223372036854775808" +unicode(3) "2.5" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "2.5" >= unicode(0) "" +unicode(3) "2.5" >= int(1) +unicode(3) "2.5" >= float(2.5) +unicode(3) "2.5" >= int(0) +unicode(3) "2.5" < unicode(6) "string" +unicode(3) "2.5" < unicode(3) "123" +unicode(3) "2.5" >= unicode(3) "2.5" +unicode(3) "2.5" >= NULL +unicode(3) "2.5" >= bool(true) +unicode(3) "2.5" >= bool(false) +unicode(3) "2.5" < object(stdClass)#%d (0) {} +unicode(3) "2.5" < object(stdClass)#%d (0) {} +unicode(3) "2.5" < object(test)#%d (0) {} +unicode(3) "2.5" < array(0) {} +unicode(3) "2.5" >= int(-9223372036854775808) +unicode(3) "2.5" >= unicode(20) "-9223372036854775808" +NULL < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL >= unicode(0) "" +NULL < int(1) +NULL < float(2.5) +NULL >= int(0) +NULL < unicode(6) "string" +NULL < unicode(3) "123" +NULL < unicode(3) "2.5" +NULL >= NULL +NULL < bool(true) +NULL >= bool(false) +NULL < object(stdClass)#%d (0) {} +NULL < object(stdClass)#%d (0) {} +NULL < object(test)#%d (0) {} +NULL >= array(0) {} +NULL < int(-9223372036854775808) +NULL < unicode(20) "-9223372036854775808" +bool(true) >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) >= unicode(0) "" +bool(true) >= int(1) +bool(true) >= float(2.5) +bool(true) >= int(0) +bool(true) >= unicode(6) "string" +bool(true) >= unicode(3) "123" +bool(true) >= unicode(3) "2.5" +bool(true) >= NULL +bool(true) >= bool(true) +bool(true) >= bool(false) +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(test)#%d (0) {} +bool(true) >= array(0) {} +bool(true) >= int(-9223372036854775808) +bool(true) >= unicode(20) "-9223372036854775808" +bool(false) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) >= unicode(0) "" +bool(false) < int(1) +bool(false) < float(2.5) +bool(false) >= int(0) +bool(false) < unicode(6) "string" +bool(false) < unicode(3) "123" +bool(false) < unicode(3) "2.5" +bool(false) >= NULL +bool(false) < bool(true) +bool(false) >= bool(false) +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(test)#%d (0) {} +bool(false) >= array(0) {} +bool(false) < int(-9223372036854775808) +bool(false) < unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= unicode(0) "" +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 + < float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(0) +object(stdClass)#%d (0) {} >= unicode(6) "string" +object(stdClass)#%d (0) {} >= unicode(3) "123" +object(stdClass)#%d (0) {} >= unicode(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= unicode(0) "" +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 + < float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(0) +object(stdClass)#%d (0) {} >= unicode(6) "string" +object(stdClass)#%d (0) {} >= unicode(3) "123" +object(stdClass)#%d (0) {} >= unicode(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= unicode(20) "-9223372036854775808" +object(test)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} >= unicode(0) "" +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 + < float(2.5) +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + >= int(0) +object(test)#%d (0) {} >= unicode(6) "string" +object(test)#%d (0) {} >= unicode(3) "123" +object(test)#%d (0) {} >= unicode(3) "2.5" +object(test)#%d (0) {} >= NULL +object(test)#%d (0) {} >= bool(true) +object(test)#%d (0) {} >= bool(false) +object(test)#%d (0) {} >= object(stdClass)#%d (0) {} +object(test)#%d (0) {} >= object(stdClass)#%d (0) {} +object(test)#%d (0) {} >= object(test)#%d (0) {} +object(test)#%d (0) {} >= array(0) {} +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + >= int(-9223372036854775808) +object(test)#%d (0) {} >= unicode(20) "-9223372036854775808" +array(0) {} < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} >= unicode(0) "" +array(0) {} >= int(1) +array(0) {} >= float(2.5) +array(0) {} >= int(0) +array(0) {} >= unicode(6) "string" +array(0) {} >= unicode(3) "123" +array(0) {} >= unicode(3) "2.5" +array(0) {} >= NULL +array(0) {} < bool(true) +array(0) {} >= bool(false) +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(test)#%d (0) {} +array(0) {} >= array(0) {} +array(0) {} >= int(-9223372036854775808) +array(0) {} >= unicode(20) "-9223372036854775808" +int(-9223372036854775808) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) < unicode(0) "" +int(-9223372036854775808) < int(1) +int(-9223372036854775808) < float(2.5) +int(-9223372036854775808) < int(0) +int(-9223372036854775808) < unicode(6) "string" +int(-9223372036854775808) < unicode(3) "123" +int(-9223372036854775808) < unicode(3) "2.5" +int(-9223372036854775808) >= NULL +int(-9223372036854775808) >= bool(true) +int(-9223372036854775808) >= bool(false) +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class test could not be converted to int in %s on line %d + < object(test)#%d (0) {} +int(-9223372036854775808) < array(0) {} +int(-9223372036854775808) >= int(-9223372036854775808) +int(-9223372036854775808) >= unicode(20) "-9223372036854775808" +unicode(20) "-9223372036854775808" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(20) "-9223372036854775808" >= unicode(0) "" +unicode(20) "-9223372036854775808" < int(1) +unicode(20) "-9223372036854775808" < float(2.5) +unicode(20) "-9223372036854775808" < int(0) +unicode(20) "-9223372036854775808" < unicode(6) "string" +unicode(20) "-9223372036854775808" < unicode(3) "123" +unicode(20) "-9223372036854775808" < unicode(3) "2.5" +unicode(20) "-9223372036854775808" >= NULL +unicode(20) "-9223372036854775808" >= bool(true) +unicode(20) "-9223372036854775808" >= bool(false) +unicode(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" < object(test)#%d (0) {} +unicode(20) "-9223372036854775808" < array(0) {} +unicode(20) "-9223372036854775808" >= int(-9223372036854775808) +unicode(20) "-9223372036854775808" >= unicode(20) "-9223372036854775808" +Done diff --git a/Zend/tests/compare_005_64bit.phpt b/Zend/tests/compare_005_64bit.phpt index 69492b3b24..523d14bf94 100644 --- a/Zend/tests/compare_005_64bit.phpt +++ b/Zend/tests/compare_005_64bit.phpt @@ -387,3 +387,342 @@ string(20) "-9223372036854775808" < array(0) {} string(20) "-9223372036854775808" >= int(-9223372036854775808) string(20) "-9223372036854775808" >= string(20) "-9223372036854775808" Done +--UEXPECTF-- +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} < object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} >= unicode(20) "-9223372036854775808" +unicode(0) "" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(0) "" >= unicode(0) "" +unicode(0) "" < int(1) +unicode(0) "" < float(2.5) +unicode(0) "" >= int(0) +unicode(0) "" < unicode(6) "string" +unicode(0) "" < unicode(3) "123" +unicode(0) "" < unicode(3) "2.5" +unicode(0) "" >= NULL +unicode(0) "" < bool(true) +unicode(0) "" >= bool(false) +unicode(0) "" < object(stdClass)#%d (0) {} +unicode(0) "" < object(stdClass)#%d (0) {} +unicode(0) "" < object(test)#%d (0) {} +unicode(0) "" < array(0) {} +unicode(0) "" >= int(-9223372036854775808) +unicode(0) "" < unicode(20) "-9223372036854775808" +int(1) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) >= unicode(0) "" +int(1) >= int(1) +int(1) < float(2.5) +int(1) >= int(0) +int(1) >= unicode(6) "string" +int(1) < unicode(3) "123" +int(1) < unicode(3) "2.5" +int(1) >= NULL +int(1) >= bool(true) +int(1) >= bool(false) +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class test could not be converted to int in %s on line %d + >= object(test)#%d (0) {} +int(1) < array(0) {} +int(1) >= int(-9223372036854775808) +int(1) >= unicode(20) "-9223372036854775808" +float(2.5) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) >= unicode(0) "" +float(2.5) >= int(1) +float(2.5) >= float(2.5) +float(2.5) >= int(0) +float(2.5) >= unicode(6) "string" +float(2.5) < unicode(3) "123" +float(2.5) >= unicode(3) "2.5" +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 + >= object(stdClass)#%d (0) {} +float(2.5) +Notice: Object of class stdClass could not be converted to double 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 + >= object(test)#%d (0) {} +float(2.5) < array(0) {} +float(2.5) >= int(-9223372036854775808) +float(2.5) >= unicode(20) "-9223372036854775808" +int(0) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) >= unicode(0) "" +int(0) < int(1) +int(0) < float(2.5) +int(0) >= int(0) +int(0) >= unicode(6) "string" +int(0) < unicode(3) "123" +int(0) < unicode(3) "2.5" +int(0) >= NULL +int(0) < bool(true) +int(0) >= bool(false) +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(0) +Notice: Object of class test could not be converted to int in %s on line %d + < object(test)#%d (0) {} +int(0) < array(0) {} +int(0) >= int(-9223372036854775808) +int(0) >= unicode(20) "-9223372036854775808" +unicode(6) "string" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(6) "string" >= unicode(0) "" +unicode(6) "string" < int(1) +unicode(6) "string" < float(2.5) +unicode(6) "string" >= int(0) +unicode(6) "string" >= unicode(6) "string" +unicode(6) "string" >= unicode(3) "123" +unicode(6) "string" >= unicode(3) "2.5" +unicode(6) "string" >= NULL +unicode(6) "string" >= bool(true) +unicode(6) "string" >= bool(false) +unicode(6) "string" < object(stdClass)#%d (0) {} +unicode(6) "string" < object(stdClass)#%d (0) {} +unicode(6) "string" < object(test)#%d (0) {} +unicode(6) "string" < array(0) {} +unicode(6) "string" >= int(-9223372036854775808) +unicode(6) "string" >= unicode(20) "-9223372036854775808" +unicode(3) "123" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "123" >= unicode(0) "" +unicode(3) "123" >= int(1) +unicode(3) "123" >= float(2.5) +unicode(3) "123" >= int(0) +unicode(3) "123" < unicode(6) "string" +unicode(3) "123" >= unicode(3) "123" +unicode(3) "123" >= unicode(3) "2.5" +unicode(3) "123" >= NULL +unicode(3) "123" >= bool(true) +unicode(3) "123" >= bool(false) +unicode(3) "123" < object(stdClass)#%d (0) {} +unicode(3) "123" < object(stdClass)#%d (0) {} +unicode(3) "123" < object(test)#%d (0) {} +unicode(3) "123" < array(0) {} +unicode(3) "123" >= int(-9223372036854775808) +unicode(3) "123" >= unicode(20) "-9223372036854775808" +unicode(3) "2.5" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "2.5" >= unicode(0) "" +unicode(3) "2.5" >= int(1) +unicode(3) "2.5" >= float(2.5) +unicode(3) "2.5" >= int(0) +unicode(3) "2.5" < unicode(6) "string" +unicode(3) "2.5" < unicode(3) "123" +unicode(3) "2.5" >= unicode(3) "2.5" +unicode(3) "2.5" >= NULL +unicode(3) "2.5" >= bool(true) +unicode(3) "2.5" >= bool(false) +unicode(3) "2.5" < object(stdClass)#%d (0) {} +unicode(3) "2.5" < object(stdClass)#%d (0) {} +unicode(3) "2.5" < object(test)#%d (0) {} +unicode(3) "2.5" < array(0) {} +unicode(3) "2.5" >= int(-9223372036854775808) +unicode(3) "2.5" >= unicode(20) "-9223372036854775808" +NULL < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL >= unicode(0) "" +NULL < int(1) +NULL < float(2.5) +NULL >= int(0) +NULL < unicode(6) "string" +NULL < unicode(3) "123" +NULL < unicode(3) "2.5" +NULL >= NULL +NULL < bool(true) +NULL >= bool(false) +NULL < object(stdClass)#%d (0) {} +NULL < object(stdClass)#%d (0) {} +NULL < object(test)#%d (0) {} +NULL >= array(0) {} +NULL < int(-9223372036854775808) +NULL < unicode(20) "-9223372036854775808" +bool(true) >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) >= unicode(0) "" +bool(true) >= int(1) +bool(true) >= float(2.5) +bool(true) >= int(0) +bool(true) >= unicode(6) "string" +bool(true) >= unicode(3) "123" +bool(true) >= unicode(3) "2.5" +bool(true) >= NULL +bool(true) >= bool(true) +bool(true) >= bool(false) +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(stdClass)#%d (0) {} +bool(true) >= object(test)#%d (0) {} +bool(true) >= array(0) {} +bool(true) >= int(-9223372036854775808) +bool(true) >= unicode(20) "-9223372036854775808" +bool(false) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) >= unicode(0) "" +bool(false) < int(1) +bool(false) < float(2.5) +bool(false) >= int(0) +bool(false) < unicode(6) "string" +bool(false) < unicode(3) "123" +bool(false) < unicode(3) "2.5" +bool(false) >= NULL +bool(false) < bool(true) +bool(false) >= bool(false) +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(stdClass)#%d (0) {} +bool(false) < object(test)#%d (0) {} +bool(false) >= array(0) {} +bool(false) < int(-9223372036854775808) +bool(false) < unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= unicode(0) "" +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 + < float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(0) +object(stdClass)#%d (0) {} >= unicode(6) "string" +object(stdClass)#%d (0) {} >= unicode(3) "123" +object(stdClass)#%d (0) {} >= unicode(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} < object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} >= unicode(0) "" +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 + < float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(0) +object(stdClass)#%d (0) {} >= unicode(6) "string" +object(stdClass)#%d (0) {} >= unicode(3) "123" +object(stdClass)#%d (0) {} >= unicode(3) "2.5" +object(stdClass)#%d (0) {} >= NULL +object(stdClass)#%d (0) {} >= bool(true) +object(stdClass)#%d (0) {} >= bool(false) +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} >= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} < object(test)#%d (0) {} +object(stdClass)#%d (0) {} >= array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + >= int(-9223372036854775808) +object(stdClass)#%d (0) {} >= unicode(20) "-9223372036854775808" +object(test)#%d (0) {} >= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} >= unicode(0) "" +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 + < float(2.5) +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + >= int(0) +object(test)#%d (0) {} >= unicode(6) "string" +object(test)#%d (0) {} >= unicode(3) "123" +object(test)#%d (0) {} >= unicode(3) "2.5" +object(test)#%d (0) {} >= NULL +object(test)#%d (0) {} >= bool(true) +object(test)#%d (0) {} >= bool(false) +object(test)#%d (0) {} < object(stdClass)#%d (0) {} +object(test)#%d (0) {} < object(stdClass)#%d (0) {} +object(test)#%d (0) {} >= object(test)#%d (0) {} +object(test)#%d (0) {} >= array(0) {} +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + >= int(-9223372036854775808) +object(test)#%d (0) {} >= unicode(20) "-9223372036854775808" +array(0) {} < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} >= unicode(0) "" +array(0) {} >= int(1) +array(0) {} >= float(2.5) +array(0) {} >= int(0) +array(0) {} >= unicode(6) "string" +array(0) {} >= unicode(3) "123" +array(0) {} >= unicode(3) "2.5" +array(0) {} >= NULL +array(0) {} < bool(true) +array(0) {} >= bool(false) +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(stdClass)#%d (0) {} +array(0) {} < object(test)#%d (0) {} +array(0) {} >= array(0) {} +array(0) {} >= int(-9223372036854775808) +array(0) {} >= unicode(20) "-9223372036854775808" +int(-9223372036854775808) < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) < unicode(0) "" +int(-9223372036854775808) < int(1) +int(-9223372036854775808) < float(2.5) +int(-9223372036854775808) < int(0) +int(-9223372036854775808) < unicode(6) "string" +int(-9223372036854775808) < unicode(3) "123" +int(-9223372036854775808) < unicode(3) "2.5" +int(-9223372036854775808) >= NULL +int(-9223372036854775808) >= bool(true) +int(-9223372036854775808) >= bool(false) +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + < object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class test could not be converted to int in %s on line %d + < object(test)#%d (0) {} +int(-9223372036854775808) < array(0) {} +int(-9223372036854775808) >= int(-9223372036854775808) +int(-9223372036854775808) >= unicode(20) "-9223372036854775808" +unicode(20) "-9223372036854775808" < array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(20) "-9223372036854775808" >= unicode(0) "" +unicode(20) "-9223372036854775808" < int(1) +unicode(20) "-9223372036854775808" < float(2.5) +unicode(20) "-9223372036854775808" < int(0) +unicode(20) "-9223372036854775808" < unicode(6) "string" +unicode(20) "-9223372036854775808" < unicode(3) "123" +unicode(20) "-9223372036854775808" < unicode(3) "2.5" +unicode(20) "-9223372036854775808" >= NULL +unicode(20) "-9223372036854775808" >= bool(true) +unicode(20) "-9223372036854775808" >= bool(false) +unicode(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" < object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" < object(test)#%d (0) {} +unicode(20) "-9223372036854775808" < array(0) {} +unicode(20) "-9223372036854775808" >= int(-9223372036854775808) +unicode(20) "-9223372036854775808" >= unicode(20) "-9223372036854775808" +Done diff --git a/Zend/tests/compare_006_64bit.phpt b/Zend/tests/compare_006_64bit.phpt index 56aad8d4b7..e72f20495c 100644 --- a/Zend/tests/compare_006_64bit.phpt +++ b/Zend/tests/compare_006_64bit.phpt @@ -387,3 +387,342 @@ string(20) "-9223372036854775808" <= array(0) {} string(20) "-9223372036854775808" <= int(-9223372036854775808) string(20) "-9223372036854775808" <= string(20) "-9223372036854775808" Done +--UEXPECTF-- +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(0) "" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(1) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > float(2.5) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(0) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(6) "string" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(3) "123" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(3) "2.5" +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > NULL +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= bool(true) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > bool(false) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(stdClass)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} <= object(test)#%d (0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > array(0) {} +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > int(-9223372036854775808) +array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} > unicode(20) "-9223372036854775808" +unicode(0) "" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(0) "" <= unicode(0) "" +unicode(0) "" <= int(1) +unicode(0) "" <= float(2.5) +unicode(0) "" <= int(0) +unicode(0) "" <= unicode(6) "string" +unicode(0) "" <= unicode(3) "123" +unicode(0) "" <= unicode(3) "2.5" +unicode(0) "" <= NULL +unicode(0) "" <= bool(true) +unicode(0) "" <= bool(false) +unicode(0) "" <= object(stdClass)#%d (0) {} +unicode(0) "" <= object(stdClass)#%d (0) {} +unicode(0) "" <= object(test)#%d (0) {} +unicode(0) "" <= array(0) {} +unicode(0) "" > int(-9223372036854775808) +unicode(0) "" <= unicode(20) "-9223372036854775808" +int(1) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(1) > unicode(0) "" +int(1) <= int(1) +int(1) <= float(2.5) +int(1) > int(0) +int(1) > unicode(6) "string" +int(1) <= unicode(3) "123" +int(1) <= unicode(3) "2.5" +int(1) > NULL +int(1) <= bool(true) +int(1) > bool(false) +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + <= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class stdClass could not be converted to int in %s on line %d + <= object(stdClass)#%d (0) {} +int(1) +Notice: Object of class test could not be converted to int in %s on line %d + <= object(test)#%d (0) {} +int(1) <= array(0) {} +int(1) > int(-9223372036854775808) +int(1) > unicode(20) "-9223372036854775808" +float(2.5) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +float(2.5) > unicode(0) "" +float(2.5) > int(1) +float(2.5) <= float(2.5) +float(2.5) > int(0) +float(2.5) > unicode(6) "string" +float(2.5) <= unicode(3) "123" +float(2.5) <= unicode(3) "2.5" +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 + > object(stdClass)#%d (0) {} +float(2.5) +Notice: Object of class stdClass could not be converted to double 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 + > object(test)#%d (0) {} +float(2.5) <= array(0) {} +float(2.5) > int(-9223372036854775808) +float(2.5) > unicode(20) "-9223372036854775808" +int(0) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(0) <= unicode(0) "" +int(0) <= int(1) +int(0) <= float(2.5) +int(0) <= int(0) +int(0) <= unicode(6) "string" +int(0) <= unicode(3) "123" +int(0) <= unicode(3) "2.5" +int(0) <= NULL +int(0) <= bool(true) +int(0) <= bool(false) +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + <= object(stdClass)#%d (0) {} +int(0) +Notice: Object of class stdClass could not be converted to int in %s on line %d + <= object(stdClass)#%d (0) {} +int(0) +Notice: Object of class test could not be converted to int in %s on line %d + <= object(test)#%d (0) {} +int(0) <= array(0) {} +int(0) > int(-9223372036854775808) +int(0) > unicode(20) "-9223372036854775808" +unicode(6) "string" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(6) "string" > unicode(0) "" +unicode(6) "string" <= int(1) +unicode(6) "string" <= float(2.5) +unicode(6) "string" <= int(0) +unicode(6) "string" <= unicode(6) "string" +unicode(6) "string" > unicode(3) "123" +unicode(6) "string" > unicode(3) "2.5" +unicode(6) "string" > NULL +unicode(6) "string" <= bool(true) +unicode(6) "string" > bool(false) +unicode(6) "string" <= object(stdClass)#%d (0) {} +unicode(6) "string" <= object(stdClass)#%d (0) {} +unicode(6) "string" <= object(test)#%d (0) {} +unicode(6) "string" <= array(0) {} +unicode(6) "string" > int(-9223372036854775808) +unicode(6) "string" > unicode(20) "-9223372036854775808" +unicode(3) "123" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "123" > unicode(0) "" +unicode(3) "123" > int(1) +unicode(3) "123" > float(2.5) +unicode(3) "123" > int(0) +unicode(3) "123" <= unicode(6) "string" +unicode(3) "123" <= unicode(3) "123" +unicode(3) "123" > unicode(3) "2.5" +unicode(3) "123" > NULL +unicode(3) "123" <= bool(true) +unicode(3) "123" > bool(false) +unicode(3) "123" <= object(stdClass)#%d (0) {} +unicode(3) "123" <= object(stdClass)#%d (0) {} +unicode(3) "123" <= object(test)#%d (0) {} +unicode(3) "123" <= array(0) {} +unicode(3) "123" > int(-9223372036854775808) +unicode(3) "123" > unicode(20) "-9223372036854775808" +unicode(3) "2.5" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(3) "2.5" > unicode(0) "" +unicode(3) "2.5" > int(1) +unicode(3) "2.5" <= float(2.5) +unicode(3) "2.5" > int(0) +unicode(3) "2.5" <= unicode(6) "string" +unicode(3) "2.5" <= unicode(3) "123" +unicode(3) "2.5" <= unicode(3) "2.5" +unicode(3) "2.5" > NULL +unicode(3) "2.5" <= bool(true) +unicode(3) "2.5" > bool(false) +unicode(3) "2.5" <= object(stdClass)#%d (0) {} +unicode(3) "2.5" <= object(stdClass)#%d (0) {} +unicode(3) "2.5" <= object(test)#%d (0) {} +unicode(3) "2.5" <= array(0) {} +unicode(3) "2.5" > int(-9223372036854775808) +unicode(3) "2.5" > unicode(20) "-9223372036854775808" +NULL <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +NULL <= unicode(0) "" +NULL <= int(1) +NULL <= float(2.5) +NULL <= int(0) +NULL <= unicode(6) "string" +NULL <= unicode(3) "123" +NULL <= unicode(3) "2.5" +NULL <= NULL +NULL <= bool(true) +NULL <= bool(false) +NULL <= object(stdClass)#%d (0) {} +NULL <= object(stdClass)#%d (0) {} +NULL <= object(test)#%d (0) {} +NULL <= array(0) {} +NULL <= int(-9223372036854775808) +NULL <= unicode(20) "-9223372036854775808" +bool(true) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(true) > unicode(0) "" +bool(true) <= int(1) +bool(true) <= float(2.5) +bool(true) > int(0) +bool(true) <= unicode(6) "string" +bool(true) <= unicode(3) "123" +bool(true) <= unicode(3) "2.5" +bool(true) > NULL +bool(true) <= bool(true) +bool(true) > bool(false) +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(stdClass)#%d (0) {} +bool(true) <= object(test)#%d (0) {} +bool(true) > array(0) {} +bool(true) <= int(-9223372036854775808) +bool(true) <= unicode(20) "-9223372036854775808" +bool(false) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +bool(false) <= unicode(0) "" +bool(false) <= int(1) +bool(false) <= float(2.5) +bool(false) <= int(0) +bool(false) <= unicode(6) "string" +bool(false) <= unicode(3) "123" +bool(false) <= unicode(3) "2.5" +bool(false) <= NULL +bool(false) <= bool(true) +bool(false) <= bool(false) +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(stdClass)#%d (0) {} +bool(false) <= object(test)#%d (0) {} +bool(false) <= array(0) {} +bool(false) <= int(-9223372036854775808) +bool(false) <= unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > unicode(0) "" +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 + <= float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + > int(0) +object(stdClass)#%d (0) {} > unicode(6) "string" +object(stdClass)#%d (0) {} > unicode(3) "123" +object(stdClass)#%d (0) {} > unicode(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} > object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > unicode(20) "-9223372036854775808" +object(stdClass)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(stdClass)#%d (0) {} > unicode(0) "" +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 + <= float(2.5) +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + > int(0) +object(stdClass)#%d (0) {} > unicode(6) "string" +object(stdClass)#%d (0) {} > unicode(3) "123" +object(stdClass)#%d (0) {} > unicode(3) "2.5" +object(stdClass)#%d (0) {} > NULL +object(stdClass)#%d (0) {} <= bool(true) +object(stdClass)#%d (0) {} > bool(false) +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} <= object(stdClass)#%d (0) {} +object(stdClass)#%d (0) {} > object(test)#%d (0) {} +object(stdClass)#%d (0) {} > array(0) {} +object(stdClass)#%d (0) {} +Notice: Object of class stdClass could not be converted to int in %s on line %d + > int(-9223372036854775808) +object(stdClass)#%d (0) {} > unicode(20) "-9223372036854775808" +object(test)#%d (0) {} > array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +object(test)#%d (0) {} > unicode(0) "" +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 + <= float(2.5) +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + > int(0) +object(test)#%d (0) {} > unicode(6) "string" +object(test)#%d (0) {} > unicode(3) "123" +object(test)#%d (0) {} > unicode(3) "2.5" +object(test)#%d (0) {} > NULL +object(test)#%d (0) {} <= bool(true) +object(test)#%d (0) {} > bool(false) +object(test)#%d (0) {} > object(stdClass)#%d (0) {} +object(test)#%d (0) {} > object(stdClass)#%d (0) {} +object(test)#%d (0) {} <= object(test)#%d (0) {} +object(test)#%d (0) {} > array(0) {} +object(test)#%d (0) {} +Notice: Object of class test could not be converted to int in %s on line %d + > int(-9223372036854775808) +object(test)#%d (0) {} > unicode(20) "-9223372036854775808" +array(0) {} <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +array(0) {} > unicode(0) "" +array(0) {} > int(1) +array(0) {} > float(2.5) +array(0) {} > int(0) +array(0) {} > unicode(6) "string" +array(0) {} > unicode(3) "123" +array(0) {} > unicode(3) "2.5" +array(0) {} <= NULL +array(0) {} <= bool(true) +array(0) {} <= bool(false) +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(stdClass)#%d (0) {} +array(0) {} <= object(test)#%d (0) {} +array(0) {} <= array(0) {} +array(0) {} > int(-9223372036854775808) +array(0) {} > unicode(20) "-9223372036854775808" +int(-9223372036854775808) <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +int(-9223372036854775808) <= unicode(0) "" +int(-9223372036854775808) <= int(1) +int(-9223372036854775808) <= float(2.5) +int(-9223372036854775808) <= int(0) +int(-9223372036854775808) <= unicode(6) "string" +int(-9223372036854775808) <= unicode(3) "123" +int(-9223372036854775808) <= unicode(3) "2.5" +int(-9223372036854775808) > NULL +int(-9223372036854775808) <= bool(true) +int(-9223372036854775808) > bool(false) +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class stdClass could not be converted to int in %s on line %d + <= object(stdClass)#%d (0) {} +int(-9223372036854775808) +Notice: Object of class test could not be converted to int in %s on line %d + <= object(test)#%d (0) {} +int(-9223372036854775808) <= array(0) {} +int(-9223372036854775808) <= int(-9223372036854775808) +int(-9223372036854775808) <= unicode(20) "-9223372036854775808" +unicode(20) "-9223372036854775808" <= array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3)} +unicode(20) "-9223372036854775808" > unicode(0) "" +unicode(20) "-9223372036854775808" <= int(1) +unicode(20) "-9223372036854775808" <= float(2.5) +unicode(20) "-9223372036854775808" <= int(0) +unicode(20) "-9223372036854775808" <= unicode(6) "string" +unicode(20) "-9223372036854775808" <= unicode(3) "123" +unicode(20) "-9223372036854775808" <= unicode(3) "2.5" +unicode(20) "-9223372036854775808" > NULL +unicode(20) "-9223372036854775808" <= bool(true) +unicode(20) "-9223372036854775808" > bool(false) +unicode(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" <= object(stdClass)#%d (0) {} +unicode(20) "-9223372036854775808" <= object(test)#%d (0) {} +unicode(20) "-9223372036854775808" <= array(0) {} +unicode(20) "-9223372036854775808" <= int(-9223372036854775808) +unicode(20) "-9223372036854775808" <= unicode(20) "-9223372036854775808" +Done