What specific PHP command can be used to extend processing time for a script handling a large file?

When handling large files in PHP, the script may reach the maximum execution time limit set in the PHP configuration, causing it to terminate prematurely. To extend the processing time for a script handling a large file, you can use the `set_time_limit()` function in PHP to increase the maximum execution time for the script.

// Extend the maximum execution time to 300 seconds (5 minutes)
set_time_limit(300);

// Code for handling the large file goes here