create a y-m-d.json file in the respective directory (year/month) by iterating multidimensional array – PHP
try to create or update a json file based on the processed data. first I arrange the contents using assamble() and create a multidimensional array: $logfile_accepted_array = [ "AAAA 2022 12 23 21:37:56 dc:16:b2:4c:d2:e6", "BBB 2023 01 12 02:08:23 f0:8a:76:16:57:e8",…