From 84d327678b1a54fe7e60c69202207073040d609e Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Mon, 22 Nov 2021 11:56:56 +0100 Subject: [PATCH] usleep(0) is valid Similar to ef9858c45881cc7be8fbb5653797f8c0fa4844e2. usleep() only throws the value is < 0: ``` Uncaught ValueError: usleep(): Argument #1 ($microseconds) must be greater than or equal to 0 ``` --- dictionaries/CallMap.php | 2 +- dictionaries/CallMap_historical.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index a34d88b7e..77dc71488 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -15151,7 +15151,7 @@ return [ 'urlencode' => ['string', 'string'=>'string'], 'use_soap_error_handler' => ['bool', 'enable='=>'bool'], 'user_error' => ['void', 'message'=>'string', 'error_level='=>'int'], -'usleep' => ['void', 'microseconds'=>'positive-int'], +'usleep' => ['void', 'microseconds'=>'positive-int|0'], 'usort' => ['bool', '&rw_array'=>'array', 'callback'=>'callable(mixed,mixed):int'], 'utf8_decode' => ['string', 'string'=>'string'], 'utf8_encode' => ['string', 'string'=>'string'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index 5c19da6af..b056b588f 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -16189,7 +16189,7 @@ return [ 'urlencode' => ['string', 'string'=>'string'], 'use_soap_error_handler' => ['bool', 'enable='=>'bool'], 'user_error' => ['void', 'message'=>'string', 'error_level='=>'int'], - 'usleep' => ['void', 'microseconds'=>'positive-int'], + 'usleep' => ['void', 'microseconds'=>'positive-int|0'], 'usort' => ['bool', '&rw_array'=>'array', 'callback'=>'callable(mixed,mixed):int'], 'utf8_decode' => ['string', 'string'=>'string'], 'utf8_encode' => ['string', 'string'=>'string'],