Get max_execution_time in PHP script
You can use the ini_get() function in PHP to get the value of max_execution_time.
You can use the ini_get() function in PHP to get the value of max_execution_time.
Example:
Example of using ini_get() function in PHP to get the value of max_execution_time
php— editable, runs on the server
Info
Watch a video course: Learn object oriented PHP
This will output the maximum execution time, in seconds, that is currently set for the PHP script.