aboutsummaryrefslogtreecommitdiffstats
path: root/output-flushing-test.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-01-20 18:49:05 +0100
committerThomas Lange <code@nerdmind.de>2018-01-20 18:49:05 +0100
commit1a896a9bc176e1af35ee47ebe37cb59d613d2a4f (patch)
treeec2992660f338f180c687159d05fee0d92319acf /output-flushing-test.php
parent7c02cc7dee9d3b0440c4ccabc18762e8b87d1e24 (diff)
downloadbigpipe-1a896a9bc176e1af35ee47ebe37cb59d613d2a4f.tar.gz
bigpipe-1a896a9bc176e1af35ee47ebe37cb59d613d2a4f.tar.xz
bigpipe-1a896a9bc176e1af35ee47ebe37cb59d613d2a4f.zip
Fix inconsistent line separators across files
The development of this project began several years ago on a Windows system until I switched to GNU\Linux. Therefore, some files contained CRLF as line separators, now replaced with LF.
Diffstat (limited to 'output-flushing-test.php')
-rw-r--r--output-flushing-test.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/output-flushing-test.php b/output-flushing-test.php
index faaf9bc..410208f 100644
--- a/output-flushing-test.php
+++ b/output-flushing-test.php
@@ -1,12 +1,12 @@
-<?php
-header('Content-Type: text/plain; charset=UTF-8');
-
-echo "[INFO: If you see the single blocks successively, then the output flushing on your server works. If not, and you see it all at once, your server need to be configured to use output flushing.]\n\n";
-
-for($i = 1; $i <= 8; $i++) {
- echo '[BLOCK: '.$i.']'."\n".str_repeat('[0]', 1500)."\n\n\n";
- flush(); usleep(750000);
-}
-
-echo '[ALL BLOCKS LOADED]';
+<?php
+header('Content-Type: text/plain; charset=UTF-8');
+
+echo "[INFO: If you see the single blocks successively, then the output flushing on your server works. If not, and you see it all at once, your server need to be configured to use output flushing.]\n\n";
+
+for($i = 1; $i <= 8; $i++) {
+ echo '[BLOCK: '.$i.']'."\n".str_repeat('[0]', 1500)."\n\n\n";
+ flush(); usleep(750000);
+}
+
+echo '[ALL BLOCKS LOADED]';
?> \ No newline at end of file