[php-src] Issue #8441: max_execution_time does not take effect in crypt function.
| From: | alexlongguo | Date: | Tue, 26 Apr 2022 04:14:52 +0000 |
| Subject: | [php-src] Issue #8441: max_execution_time does not take effect in crypt function. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241238@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8441
Comment Author: alexlongguo
> Works for me. Are you sure your max_execution_time is set to a low number and that your test
> script really is taking that long? On my fairly high-end PC I had to set test 7's number of
> rounds in the millions using max_execution_time=1 to get a timeout, but it did time out.
> Works for me. Are you sure your max_execution_time is set to a low number and that your test
> script really is taking that long? On my fairly high-end PC I had to set test 7's number of
> rounds in the millions using max_execution_time=1 to get a timeout, but it did time out.
use the above code,because I found it is different to crypt_sha256.phpt

I modified code:
set max_execution_time=5

print time:

can't run finish:
