News for hackers. Stuff that matters.
Re:PHP 7.4 by asdasdasdasdwd on Thursday November 28, 2019 @11:47AM (#21658627)
I think there is an rfc for object initialization similar to C#:

    $city = new City {name: 'Berlin, population: 374800};
Edit: found it (and it uses = instead of :) https://wiki.php.net/rfc/object-initializer

There are no comments on this comment yet.