I know it is possible to set the maximum execution time in a script using either:
ini_set('max_execution_time', 30);
or
set_time_limit(30);
What can I do to get a variable containing the maximum execution time in seconds?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The converse, using
ini_get:Note: if you check the documentation page for
ini_set, you can findini_getlisted prominently on the “See Also” section. That’s a very good way to discover functionality built into PHP that you are not already aware of.