--TEST-- Bug #52335 (fseek() on memory stream behavior different then file) --FILE-- --EXPECT-- Read mode int(0) bool(false) int(20) bool(false) string(0) "" bool(true) int(0) bool(false) int(24) Read write mode int(4) int(0) bool(false) int(24) bool(false) string(0) "" bool(true) int(0) int(14) bool(false) int(34) string(0) "" int(0) int(50) int(0) string(68) "646174610000000000000000000000000000000020616e64206d6f72652064617461"