<?php class A { protected $v; public function __construct($v) { $this->v = $v; } } $a1 = new A(new DateTime()); $a2 = new A(new DateTime()); var_dump($a1 == $a2);
You have javascript disabled. You will not be able to edit any code.