PHP產生chunked訊號 ~ PHP SERVER send chunked
GOOGLE關鍵字搜尋: php chunked response
參考資料:
https://inchoo.net/dev-talk/chunked-transfer-encoding/
https://blog.longwin.com.tw/2007/05/json_header_2007/
https://www.php.net/manual/en/function.usleep.php
GITHUB: https://github.com/jash-git/PHP-SERVER-send-chunked-
完整程式碼: