1--TEST--
2Test object compare when object handler different
3--FILE--
4<?php
5
6//Set the default time zone
7date_default_timezone_set("Europe/London");
8
9echo "Simple test comparing two objects with different compare callback handler\n";
10
11class X {
12}
13
14$obj1 = new X();
15$obj2 = new DateTime(("2009-02-12 12:47:41 GMT"));
16
17var_dump($obj1 == $obj2);
18?>
19===DONE===
20--EXPECTF--
21Simple test comparing two objects with different compare callback handler
22bool(false)
23===DONE===
24