What's  sign at the beginning of my source file?

后端 未结 4 1102
隐瞒了意图╮
隐瞒了意图╮ 2021-01-04 08:36

I have a PHP source file where  characters automatically got added in! I don\'t know from where they have come. I\'m not getting any parse errors but it results in weird

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-04 09:31

    From a tool like vi or vim, you can modify and save the file without a BOM with the two following commands :

    :setlocal nobomb
    

    and then

    :w
    

提交回复
热议问题