My topic: https://bugs.php.net/bug.php?id=77466&thanks=3
Backport from: https://bugs.php.net/bug.php?id=76846&edit=3
Original commit: https://github.com/php/php-src/commit/45cdcb2d0be89fe7bc404dd150240ec83f5de401
Remi: remicollet/remirepo#114