Re: Basic Type Alias

From: Date: Thu, 26 Oct 2023 12:58:35 +0000
Subject: Re: Basic Type Alias
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-121468@lists.php.net to get a copy of this message
Hi, It seems to me that there is more to lose than gain. I'm afraid that when we look at the signature, we'll be confused as to whether it's a class or a type. Even if these problems were successfully resolved, I feel that it would only reduce readability. I've never seen a union type complex enough to require an alias. Regards. Saki

« previous php.internals (#121468) next »