Fix https://bugs.php.net/68128.