Re: Re: RFC: short and inner classes

From: Date: Fri, 14 Mar 2025 10:16:35 +0000
Subject: Re: Re: RFC: short and inner classes
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-126751@lists.php.net to get a copy of this message
Hi Am 2025-03-14 01:22, schrieb Bob Weinand:
[…] class constants in uppercase […]
enum cases are a notable Exception. They also use PascalCase (both internal enums and the PER-CS coding style as published by PHP-FIG). But that's also a good question for the RFC author: Is defining inner classes within an enum legal? The RFC says that inner enums are future scope, but what about “outer” enums? The specification in the “Usage” section is not entirely clear to me. Best regards Tim Düsterhus

« previous php.internals (#126751) next »