<?php class Example implements JsonSerializable { public function jsonSerialize() { return range('a', 'z'); } } echo json_encode(new Example);
You have javascript disabled. You will not be able to edit any code.