The tests are showing that the writes are happening out of order, or not happening at all.
But none of them are happening partially.
Reading up on the PHP site, PHP is indeed designed so that they should either happen in full, or not happen at all.
So it's a PHP bug.
I have upgraded from PHP 5.5.10, supplied with Mongoose, to PHP 5.5.30, the latest in the 5.5 series.
I have upgraded to non-thread safe, x86
There are reports that PHP is not threadsafe whichever of the two binaries you choose.
To alter the version used, simply place the unzipped PHP folder in the Mongoose directory, and amend the mongoose config .txt file in the Mongoose directory to refer to the new PHP directory.