Revert change to comply with https://bugs.php.net/bug.php?id=65650