--TEST-- Bug #21131: fopen($filename, "a+") has broken position --FILE-- --EXPECT-- int(6) int(0) foobar