L.s.,
I've just been looking in detail at the Partially Supported Callables
deprecation RFC:
https://wiki.php.net/rfc/deprecate_partially_supported_callables
The RFC explicitly excludes the `is_callable()` function and the
`callable` type from throwing deprecation notices.
The
Hello Mark and the list,
Le mar. 15 mars 2022 à 21:36, Mark Randall a écrit :
> Who knows, maybe PHP 9 can be the version that removes remove *all*
> warnings from the zend engine.
>
This is not far from the reason why I voted "no".
I am not against the fact this warning becomes an error per
On 15/03/2022 19:32, Sara Golemon wrote:
What I'm hearing is that we also need an RFC for promoting 'Undefined
index...' warnings to Errors as well.
We do. If it would pass or not is another matter, it would need someone
braver than I to take it up.
I think there's some other engine
On Tue, Mar 15, 2022 at 2:08 PM Miguel Rosales
wrote:
> > The RFC states:
> >
> > | If the code does not currently emit a “Warning: Undefined variable
> > | $varname” then it is out of scope for this RFC. This RFC does NOT
> > | apply to array indexes.
> >
> > That explicitly excludes undefined
Christoph M. Becker wrote on 15/3/22 19:17:
On 15.03.2022 at 17:54, Côme Chilliet wrote:
Le lundi 14 mars 2022, 18:18:55 CET Mark Randall a écrit :
I have started the vote for promoting undefined variable access to throw
an Error exception.
The vote will run for 2 weeks until March 28th
On 15.03.2022 at 17:54, Côme Chilliet wrote:
> Le lundi 14 mars 2022, 18:18:55 CET Mark Randall a écrit :
>
>> I have started the vote for promoting undefined variable access to throw
>> an Error exception.
>>
>> The vote will run for 2 weeks until March 28th 2022.
>>
>>
Le lundi 14 mars 2022, 18:18:55 CET Mark Randall a écrit :
> I have started the vote for promoting undefined variable access to throw
> an Error exception.
>
> The vote will run for 2 weeks until March 28th 2022.
>
> https://wiki.php.net/rfc/undefined_variable_error_promotion
This does not
On 15 March 2022 15:41:45 GMT, "Côme Chilliet" wrote:
>Le samedi 12 mars 2022, 19:30:00 CET G. P. B. a écrit :
>> true is not a type in PHP compared to false, therefore it is not included.
>> I'm working on a proposal to add true as a type to PHP, but that's a
>> seperate RFC and discussion.
>
Le samedi 12 mars 2022, 19:30:00 CET G. P. B. a écrit :
> true is not a type in PHP compared to false, therefore it is not included.
> I'm working on a proposal to add true as a type to PHP, but that's a
> seperate RFC and discussion.
Was there ever an RFC for adding literal values to the type
Hi Mike, Lynn, and Kamil; I feel like this sub-thread has derailed from the
initial topic... As already said, this RFC is *not* about the general
"variable variables" feature, but about *the `"${...}"` syntax inside
interpolated strings* (i.e. double-quoted or heredoc), which can be
rewritten to
10 matches
Mail list logo