Can I change tab width (\t) in a PHP string?

前端 未结 1 643
礼貌的吻别
礼貌的吻别 2021-01-14 03:36

I\'m not even sure if its possible, but I\'d like to change the value of \\t in PHP strings. For example, currently if I do this:

echo \"\\t\\tHello\";


        
相关标签:
1条回答
  • 2021-01-14 04:14

    The tab width is not specified by PHP, but by the program which views it. If you view it in an editor, you can set the tab width in the editor.

    0 讨论(0)
提交回复
热议问题