<?php $string = 'Files("textfile1.txt", 7268474425, "textfile2.txt", 661204928, "textfile3.txt", 121034)'; var_export( array_reduce( preg_split('/[^,]+,[^,]+\K, /', substr($string, 6, -1)), function ($result, $string) { [$key, $result[$key]] = sscanf($string, '"%[^"]", %d'); return $result; } ) );
You have javascript disabled. You will not be able to edit any code.