为什么“PHP flush()”在IOS中不起作用?

Following code working in all my browsers (IE, FF, Chrome, Safari Mac).

$out_text = " ";
echo str_pad($out_text, 1024*64);
flush();

Only in iOS (11.2.1 - my version) it is not working. I tried now for hours a lot of different ways - without success. Can somebody help?

Now I have found the reason. If I remove the Doctype <!DOCTYPE html> it is working well. But my next problem is, that I need this Doctype. I also tryed other doctypes without success.