Re: RFC idea: using the void type to control maximum arity of user-defined functions

From: Date: Thu, 04 Apr 2024 14:39:30 +0000
Subject: Re: RFC idea: using the void type to control maximum arity of user-defined functions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-122935@lists.php.net to get a copy of this message
> Le 4 avr. 2024 à 15:10, Kamil Tekiela <tekiela246@gmail.com> a écrit : > > Why is passing extra arguments a problem at all? In a parallel perfect and boring world, it is not a problem. In our world, disallowing extra arguments have two advantages: * catching bugs; * allowing to add new optional parameters to an existing function without fearing to break existing code. —Claude

« previous php.internals (#122935) next »