Does this bug still exists in(php) the latest buildsea? Have a look at http://bugs.php.net/bug.php?id=20114