A PHP RFC proposing to make the language fully case-sensitive is being discussed on the PHP internals mailing list. Currently, PHP treats class names, function names, and other identifiers case-insensitively. The RFC author Jorg Sowa is reviving the discussion and still needs to complete impact analysis and performance benchmarks. Supporters like Seifeddine Gmati argue it would simplify static analysis by eliminating the need for name normalization. Critics raise concerns about PHP's inconsistent built-in naming conventions (DateTime vs PDO vs mysqli) creating confusion once case-sensitivity is enforced, and Rob Landers questions whether the gain justifies the migration cost.

6m read timeFrom externals.io
Post cover image
352 Impressions