Hi friends,
I am using the following line of code to assign an array argument to a class property, but I get an error. Thanks !!! Parse error: syntax error, unexpected ‘?’ in C:\wamp64\www\chain_gang\private\classes\bicycle.class.php on line 30.
$this->brand = $args[‘brand’] ?? ‘’;