People love to chuckle about PHP's function naming inconsistency, born in part by PHP's symbol hash having originally been "strlen".

Meanwhile C is out here like

The problem is that there was never any guarantee that more than a certain number of characters would be checked when names were compared for equality—in Old C this was eight characters, in Standard C this has changed to 31.


The rules for the construction of identifiers are simple: you may use the 52 upper and lower case alphabetic characters

Of what alphabet?
Sign in to participate in the conversation
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.