On Wed, Apr 6, 2022, at 7:03 AM, Mark Randall wrote:
> Internals,
>
> Part 2 of the undefined behaviour improvements, this time focusing on
> properties.
>
> https://wiki.php.net/rfc/undefined_property_error_promotion
>
> This RFC draws heavily from the just passed undefined variables error
> pro
On 06/04/2022 17:34, Marco Pivetta wrote:
Perhaps worth mentioning that magic methods keep working?
Good call.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php
On Wed, 6 Apr 2022 at 14:37, Guilliam Xavier
wrote:
> First sentence of the introduction: "Undefined properties are those that
> have not yet been defined either by the presence of a property declaration,
> or by adding them to the properties hashmap through direct assignment, or
> by having them
Hi,
Kamil has been working on a proof of concept for a
`mysqli_execute_query($sql, $params)` function, and I've written up a draft
RFC for it:
https://wiki.php.net/rfc/mysqli_execute_query
It's continuing the work Kamil has done with the "mysqli bind in execute"
RFC [1], to make parameterised My
Hey Mark,
On Wed, 6 Apr 2022 at 14:04, Mark Randall wrote:
> Internals,
>
> Part 2 of the undefined behaviour improvements, this time focusing on
> properties.
>
> https://wiki.php.net/rfc/undefined_property_error_promotion
>
> This RFC draws heavily from the just passed undefined variables err
On Wed, Apr 6, 2022 at 2:37 PM Robert Landers
wrote:
>
> FWIW, I'd like to see option 2 only because of custom serializers
> and/or object proxies and also because:
>
> > This RFC proposes that accessing an undefined property is rendered
> illegal behaviour
>
> StdClass has *no* defined propertie
Hi Mark,
https://wiki.php.net/rfc/undefined_property_error_promotion
>
[note: the RFC Date has a +1 on the year]
I'm in favor for "fixed" classes (with all properties declared and no
`__get()` magic method),
but somewhat mixed for `stdClass`: as you said, it can come from a
`json_decode()` by de
On Wed, Apr 6, 2022 at 2:04 PM Mark Randall wrote:
>
> Internals,
>
> Part 2 of the undefined behaviour improvements, this time focusing on
> properties.
>
> https://wiki.php.net/rfc/undefined_property_error_promotion
>
> This RFC draws heavily from the just passed undefined variables error
> prom
Internals,
Part 2 of the undefined behaviour improvements, this time focusing on
properties.
https://wiki.php.net/rfc/undefined_property_error_promotion
This RFC draws heavily from the just passed undefined variables error
promotion RFC, and is intended to compliment both it, and the 8.2
De
Hi George,
> https://github.com/php/php-src/pull/7546#discussion_r837900447
Thanks for asking (even if voted).
On Tue, Apr 5, 2022 at 2:01 PM Marco Pivetta wrote:
> Probably best with consistency?
>
> > - Ignore the Reflection changes of the RFC and align the union type with
> the current beh
10 matches
Mail list logo