Fixed wrong test (see https://bugs.php.net/bug.php?id=67307)
Reverted last commit