If you have already decompressed the remotely downloaded compressed PHP file and successfully processed it,require_onceIf you reference a function and then immediately delete the temporary file, you should be able to execute the PHP script normally. This is because PHP has already loaded the script code into memory, so it no longer needs to access the temporary file.
However, please note that if you need to modify the temporary files that have been referenced and save those changes during the execution of your script, deleting the temporary files after the script has finished executing could cause issues.
Additionally, please ensure that this is executed.require_onceBefore running the function, you must have successfully decompressed the compressed PHP file and saved it to a temporary folder. If the decompression fails or the temporary file does not exist, your script will not execute correctly.