<?php echo json_encode([], JSON_FORCE_OBJECT); echo json_encode(['test' => []], JSON_FORCE_OBJECT); echo json_encode(['test' => [1,2,3]], JSON_FORCE_OBJECT);
You have javascript disabled. You will not be able to edit any code.