Re: [RFC] [Discussion] Never parameters
| From: | Daniel Scherzer | Date: | Tue, 15 Apr 2025 18:58:05 +0000 |
| Subject: | Re: [RFC] [Discussion] Never parameters | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127116@lists.php.net to get a copy of this message | ||
On Tue, Apr 8, 2025 at 6:40 PM Daniel Scherzer <daniel.e.scherzer@gmail.com>
wrote:
>
> Since a lot of the discussion seems to be around static analysis and
> whether there is a real use case for this, I wanted to share another use
> case I just came across: in the
thephpleague/commonmark
> package,
> different renderers are added to render different types (subclasses) of
> League\CommonMark\Node\Node.
>
I added this example to the RFC page as an example of how this could be
useful in userland code. Barring further developments, I plan to open the
RFC for voting in a few days.
-Daniel