Exotic names for methods, constants, variables and fields - Bug or Feature?

后端 未结 4 1837
死守一世寂寞
死守一世寂寞 2020-11-28 07:26

after some confusion in the comments to

  • Is it safe to have 1 letter class names in PHP, e.g A, B, C

I thought I make into a question. According

4条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 07:27

    Your character is encoded as 0x80 0x90 0xe2 or something like that, thus it matches your regexp when not interpreting the unicode (working on single bytes).

提交回复
热议问题