[php-src] Issue #22508: Flaky hrtime.phpt test

[email protected] (mbeccati) Mon, 29 Jun 2026 10:09:09 +0000
Newsgroups php.bugs
Message-ID <4HWeEumdq3NzQEO5FmqM3779ZnJXOk1ZxhCSZVNWtTI@main.internal.php.net>
Issue: https://github.com/php/php-src/issues/22508
Author: mbeccati

### Description

I've never seen this happening, but earlier today I had a number of failures on the `ext/standard/tests/hrtime/hrtime.phpt` test while doing test runs for the 8.6.0alpha1 packaging.

```
TEST 1/1 [ext/standard/tests/hrtime/hrtime.phpt]
========DIFF========
001- OK, %f
001+ FAIL, 0.050114826176838
========DONE========
FAIL Test hrtime() aligns with microtime() [ext/standard/tests/hrtime/hrtime.phpt]
```

Perhaps it could be worth increasing the 0.05 hard limit that is set in the test?

### PHP Version

```plain
master
```

### Operating System

Ubuntu 26.04