[php-src] PR #13401: int|float for sleep
| From: | divinity76 | Date: | Thu, 15 Feb 2024 17:35:05 +0000 |
| Subject: | [php-src] PR #13401: int|float for sleep | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25096@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13401
Author: divinity76
Now
```
sleep(0.1);
```
will sleep for 0.1 seconds.
It has annoyed me for a long time that sleep() doesn't accept floating point values. Now it
does.