json_encode() pass number code example Example: json_encode() json_encode(['name' => 'Jake', 'country' => 'Philippines'])