PHP & Case Sensitivity [duplicate]
问题 This question already has answers here : Why are functions and methods in PHP case-insensitive? (2 answers) Closed 3 months ago . In PHP, variable and constant names are case sensitive, while function names are not. As far as I am aware, PHP is the only language in which this happens. All other languages I have used are either totally case sensitive or totally case insensitive. Why is PHP partially case senstive? Please note, that I am not asking which names are case sensitive, but why .