Seems i really needs to know why \n in my code always be replaced when \r\n.

Still working on making code suitable with PSR2 and PSR4 thing.