Hello internals,
While working on the deprecation to/from bool type juggling in functions RFC
and seeing the impact within Symfony, we found a common slightly annoying case.
The getDocComment method of various Reflection classes was always used as a
string, and we thought changing the behaviour
Am 25.06.2025 um 12:37 schrieb Gina P. Banyard :
> While working on the deprecation to/from bool type juggling in functions RFC
> and seeing the impact within Symfony, we found a common slightly annoying
> case.
> The getDocComment method of various Reflection classes was always used as a
> stri
On Wed, Jun 25, 2025, at 5:37 AM, Gina P. Banyard wrote:
> Hello internals,
>
> While working on the deprecation to/from bool type juggling in
> functions RFC and seeing the impact within Symfony, we found a common
> slightly annoying case.
> The getDocComment method of various Reflection classes
On Wed, Jun 25, 2025 at 4:22 PM Kamil Tekiela wrote:
> What exactly is the context in which symfony uses it?
>
Was wondering just that, and I can only imagine it's a function call that
receives the parameter as a string and it would getDocComment() result is
passed directly, sometimes being fal
What exactly is the context in which symfony uses it?
On Wed, 25 Jun 2025 at 13:56, Christian Schneider wrote:
>
> Am 25.06.2025 um 12:37 schrieb Gina P. Banyard :
> > While working on the deprecation to/from bool type juggling in functions
> > RFC and seeing the impact within Symfony, we found a common slightly
> > annoying case.
> > The getDocCom
On 25 June 2025 13:21:22 BST, Andreas Hennings wrote:
>On Wed, 25 Jun 2025 at 13:56, Christian Schneider
>wrote:
>>
>> I noticed that the "empty string for absence of value" was also used in
>> DOMElement::getAttribute() but you can argue that the existence of
>> DOMElement::hasAttribute()
Hi,
It makes more sense to me too to change this behavior. I would rather go
with null though ; but that is just personal preference ; empty string is
already better than false ... Did you assess how widely it is used before
the users come back "angry" ?
Cheers.
On Wed, 25 Jun 2025 at 11:39, Gin
On 25 June 2025 11:37:37 BST, "Gina P. Banyard" wrote:
>The getDocComment method of various Reflection classes was always used as a
>string, and we thought changing the behaviour in PHP made more sense.
Looking at the stub file, the use of false instead of null to signal "no value"
seems to
Hi
Am 2025-06-11 09:38, schrieb Tim Düsterhus:
voting just opened on the “Make OPcache a non-optional part of PHP”
RFC.
Please find the following resources:
- RFC: https://wiki.php.net/rfc/make_opcache_required
- Discussion: https://externals.io/message/127459
- PoC PR: https://github.com/php
10 matches
Mail list logo