Question from the PHP8 test

Is this class valid? ```php <?php abstract class Test{ abstract public function __construct(private $x); } ```

Easy

Is this class valid?

<?php

abstract class Test{
    abstract public function __construct(private $x);
}
Author: W3D TeamStatus: PublishedQuestion passed 912 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!