hmm might be related to https://bugs.php.net/bug.php?id=51785