<?php class C implements JsonSerializable { public function jsonSerialize() { $a = clone($this); echo 1; die; } } echo json_encode(new C());
You have javascript disabled. You will not be able to edit any code.