Code refining

4 space to tab, and preg_replace to str_replace(if it is equal).