Missing function in ziparchive (http://php.net/manual/en/class.ziparchive.php) for reads a file content into array like file()
function.file()
function will read content in to the file and output with array I want same like function for ziparchive. How we can get the ziparchive file content with array. I can get the content of zip file with
$content = $zip->getFromName($fileToread);
here $content
will return all file content but I want this content with an array like file()
function return.