> I think that would require an RFC.
Alright, thanks.
> To clarify, you're proposing to replace this:
>count((new ReflectionClass(Beep::class))->getAttributes(Ignore::class)) == true
>with
>(new ReflectionClass(Beep::class))->hasAttribute(Ignore::class)
> Right?
Correct.
> That doesn't seem lik
>
> I think that would require an RFC.
>
> To clarify, you're proposing to replace this:
>
> count((new ReflectionClass(Beep::class))->getAttributes(Ignore::class)) ==
> true
>
> with
>
> (new ReflectionClass(Beep::class))->hasAttribute(Ignore::class)
>
> Right? That doesn't seem like a huge impro
On Wed, Jul 12, 2023, at 4:00 AM, G. P. B. wrote:
> On Mon, 3 Jul 2023 at 01:11, Levi Morrison wrote:
>
>> Chatter on the [Interface Default Methods RFC][1] has been quiet for
>> the past 6 days, and the feature freeze deadline is fast approaching
>> for PHP 8.3, so I'm moving this to vote. It'll
On Wed, Jul 12, 2023, at 3:25 AM, Robin Chalas wrote:
> Hi internals,
>
> It is common attributes to be used as markers. Just like a marker
> interface with no methods, such attributes don’t have any parameter.
>
> Examples from Symfony:
> - #[Ignore] indicating that a property should be skipped i
On Wed, Jul 12, 2023 at 5:01 AM G. P. B. wrote:
>
> Maybe the resistance to the proposal would be far less if the RFC, and
> implementation, would check at compile time that the default
> implementations only rely on known existing functions available to the
> interface.
>
I asked in the discuss
> On Jul 9, 2023, at 11:29 AM, Dan Ackroyd wrote:
>
> On Fri, 7 Jul 2023 at 18:39, Calvin Buckley wrote:
>>
>> I'd like to hear any oversights, and what could be done to take this
>> further.
>
> I think someone needs to write some code and some tests, and see what happens.
>
> It's possibl
On Wed, 28 Jun 2023 at 17:09, G. P. B. wrote:
> Hello internals,
>
> I'm opening the vote for the
> Deprecate remains of string evaluated code assertions RFC:
> https://wiki.php.net/rfc/assert-string-eval-cleanup
>
> It will last for two weeks and end on Wednesday the 12th of July
>
The vote has
On Wed, 28 Jun 2023 at 17:07, G. P. B. wrote:
> Hello internals,
>
> I'm opening the vote for the Path to Saner Increment/Decrement operators
> RFC:
> https://wiki.php.net/rfc/saner-inc-dec-operators
>
> It will last for two weeks and end on Wednesday the 12th of July
>
The vote has now ended.