--TEST-- fwrite() tests --FILE-- --EXPECTF-- int(0) int(0) int(0) int(4) int(0) string(4) "data" Done