On Thu, May 13, 2021 at 2:31 PM Andreas Hennings <andr...@dqxtech.net> wrote:
> 1. Serializing: > But outside of the above cases it should be technically possible, or not? > > I suspect that the limitations you cite make any kind of general serializing both unreliable and impractical. I wouldn't plan on meaningful serialization. > 2. var_export() > > Same as above, really. 3. Parameter switching > > Could we express the following as a partial function? > > static function ($a, $b) {return foo($b, $a);} > > E.g. as foo(?1, ?0) ? > > Using named parameter we can: foo(b: ?, a: ?); -Sara