Greetings,

On 29/09/2026 20:44, Weilin Du wrote:
```
$point = [:$x, :$y, :$z]; // ['x' -> $x, 'y' -> $y, 'z' -> $z]
```
   $point = compact('x', 'y', 'z');

is still not deprecated

so is

   $x = $y = $z = null;
   extract($point, EXTR_IF_EXISTS);

but you probably should use neither.

--
Anton

Reply via email to