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