summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-08-31 11:22:43 +0800
committerXinchen Hui <laruence@php.net>2012-08-31 11:22:43 +0800
commit5dc2cef370885c552c20f3ff44bccd402850de9e (patch)
tree10221694df6a618b6a052b22b2f65bc51772d79e /tests
parent8afb848e18187974df79d3ddc8d215695d7cf632 (diff)
downloadphp-git-5dc2cef370885c552c20f3ff44bccd402850de9e.tar.gz
Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes)
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/compare_objects_basic2.phpt8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/lang/compare_objects_basic2.phpt b/tests/lang/compare_objects_basic2.phpt
index a2c34d06ad..7e4786cd28 100644
--- a/tests/lang/compare_objects_basic2.phpt
+++ b/tests/lang/compare_objects_basic2.phpt
@@ -20,9 +20,5 @@ var_dump($obj1 == $obj2);
===DONE===
--EXPECTF--
Simple test comparing two objects with different compare callback handler
-
-Notice: Object of class X could not be converted to int in %s on line %d
-
-Notice: Object of class DateTime could not be converted to int in %s on line %d
-bool(true)
-===DONE=== \ No newline at end of file
+bool(false)
+===DONE===