Medium
Is this code valid?
<?php
class Test {
public function __construct(public array ...$strings) {}
}
Author: W3D TeamStatus: PublishedQuestion passed 939 times
Edit
Similar QuestionsMore questions about PHP
Is this code valid?
<?php
class Test {
public function __construct(public array ...$strings) {}
}