Re: int|float for sleep? sleep(0.1) => sleep 0.1 seconds
| From: | Ayesh Karunaratne | Date: | Thu, 29 Feb 2024 09:12:01 +0000 |
| Subject: | Re: int|float for sleep? sleep(0.1) => sleep 0.1 seconds | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122535@lists.php.net to get a copy of this message | ||
>
> Made a RFC draft:
> https://wiki.php.net/rfc/sleep_function_float_support
>
> First time, so I'm not surprised if there are some mistakes there.
>
> Feedback is very welcome.
>
Hi Hans,
The RFC looks great, and I am personally positive to see these proposed
changes implemented in PHP.
One suggestion I have is to simplify the six votes to three, each with
three options:
- Disagree the proposal
- Agree to implement in PHP 8.4
- Agree to implement in PHP 9.0
I think it's also helpful if the PR link was added to the top of the RFC,
ideally next to the "First Published at". Most RFCs also remove the
sections that don't apply to them (such as Future Scope section).
That said, thanks for making this, it's something I'd like to see in PHP as
well.