Fix PHP bug: https://bugs.php.net/bug.php?id=63411