<?php class Foo { public function __construct($x, $y) { $this->x = $x; $this->y = $y; } } $one = new Foo("foo", $a = [&$b]); $two = new Foo("foo", $b = [&$a]); var_dump($one == $two);
You have javascript disabled. You will not be able to edit any code.