[PHP-DEV] Expected behavior for tracking objects?

2022-03-19 Thread Joseph Montanez
Hello, I am running into an issue with tracking PHP Objects in an internal object. In PHP only code if you override a variable passed into an object, the origin passed value should remain the same if the variable is changed outside of it. $position = new Vector3(4.0, 2.0, 4.0); $camera = new

Re: [PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-03-19 Thread Robert Landers
On Fri, Mar 18, 2022 at 11:01 PM Theodore Brown wrote: > On Fri, Mar 18, 2022 at 09:02 Chase Peeler wrote: > > On Fri, Mar 18, 2022 at 12:49 AM Theodore Brown > wrote: > > > > > > Personally I'm really looking forward to having this functionality. > > > Just a couple days ago I wanted to call

Re: [PHP-DEV] [RFC] Disjunctive Normal Form Types

2022-03-19 Thread Anton Smirnov
On Sat, 2022-03-19 at 16:38 +, G. P. B. wrote: > DNF types are a way to mix intersection and union types together in a > single type. > For example: >  - (A)|null >  - (Traversable)|array Hello George, I like your proposal. I would like to offer 2 suggestions however: 1. I think that syntax

Re: [PHP-DEV] [RFC] Disjunctive Normal Form Types

2022-03-19 Thread Eugene Sidelnyk
Looks very interesting, and most importantly, useful. On Sat, Mar 19, 2022 at 6:38 PM G. P. B. wrote: > Hello internals, > > I would like to open the discussion on the Disjunctive Normal Form (DNF) > types RFC: > https://wiki.php.net/rfc/dnf_types > > The implementation for it is available on

[PHP-DEV] [RFC] Disjunctive Normal Form Types

2022-03-19 Thread G. P. B.
Hello internals, I would like to open the discussion on the Disjunctive Normal Form (DNF) types RFC: https://wiki.php.net/rfc/dnf_types The implementation for it is available on my fork, [1] but currently relies on a pending PR [2] to make the implementation simpler. DNF types are a way to mix