📅  最后修改于: 2022-03-11 15:00:42.394000             🧑  作者: Mango
Note that if you try to encode an array containing non-utf values, you'll get null values in the resulting JSON string. You can batch-encode all the elements of an array with the array_map function: