Re: [RFC] Type Aliases

From: Date: Wed, 03 Dec 2025 22:01:10 +0000
Subject: Re: [RFC] Type Aliases
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-129535@lists.php.net to get a copy of this message
On Wed, Dec 3, 2025, at 22:56, Morgan wrote: > On 2025-12-04 05:41, Rob Landers wrote: > > > > Good catch; will do. For the record, it's as type-sensitive as any other > > type in PHP (as in not case-sensitive at all). > > > > Well, provided you stick to ASCII-only identifiers... > > ``` > > class Thïng {} > > class THÏNG {} > > class thïng {} > ``` Classes are not case-sensitive: https://3v4l.org/PLb4J#v8.5.0 If you are using PSR-4 + a case-sensitive filesystem, then they appear to be, but that's due to the filesystem, not PHP. — Rob

« previous php.internals (#129535) next »