Does someone face such problem?
set_time_limit() function changes the 'max_execution_time' value, but returns false
php -r 'var_dump(ini_get("max_execution_time"), set_time_limit(5), ini_get("max_execution_time"));'
Command line code:1:
string(1) "0"
Command line code:1:
bool(false)
Command line code:1:
string(1) "5"
Found a solution: If you have enabled xdebug mod in your php.ini - set_time_limit() function will always return false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With