Skip to content

Conversation

@cedric-anne
Copy link
Contributor

According to the documentation, since PHP 8.0:

The function throws a ValueError on negative seconds; previously, an E_WARNING was raised instead, and the function returned false.

@silasjoisten
Copy link
Collaborator

Wow 🤩

@silasjoisten silasjoisten merged commit 9b16dc5 into thecodingmachine:master May 14, 2025
10 checks passed
@cedric-anne cedric-anne deleted the fix/sleep branch May 14, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants