What are the potential implications of changing the maximum execution time limit in PHP on different hosting environments?

Changing the maximum execution time limit in PHP can have different implications on different hosting environments. On shared hosting, increasing the limit may not be possible due to server restrictions. On dedicated servers or VPS, changing the limit may improve performance for long-running scripts but could also potentially lead to resource exhaustion if set too high.

// Increase the maximum execution time limit to 60 seconds
ini_set('max_execution_time', 60);