So, I am trying to check if a file exists in a tar.gz file. I have tried using
fopen('phar://path');
But the issue is, it exceeds the Allowed memory size. What I am trying to do is identify if the tar.gz file contains a database dump. One way to solve this issue is add db in the name of the tar file at the time of creation. But is there a way to check if the file exists, without exceeding the Memory limit, As the tar file can be up to few GB's