save_source_to_file
save_source_to_file($filepath); - save the page source code to a file
The input function accepts parameters:
$filepath – path to the file where the page source code will be saved
After testing, the function returns the result of its work to the script :
true – successfully savedfalse – operation failed