Hi Michael,

On 11/08/2020 12:39, Dan Ackroyd wrote:
> Changing a function to have surprising behaviour just to avoid using a
> different function, that is already available, is a really bad
> tradeoff.

I agree.

function mysleep(float $s): void {
    usleep($s * 1000000);
}

You're welcome ;-)


Cheers
-- 
Matteo Beccati

Development & Consulting - http://www.beccati.com/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to