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