Fixed bug https://bugs.php.net/patch-display.php?bug_id=54169