<?php final class Node { public function __construct(public array $children, public mixed $data) {} } $node = new Node([2], 1); var_dump($node);
You have javascript disabled. You will not be able to edit any code.