value = $value; $this->left = $left; $this->right = $right; } public $value; public ?BinaryTreeNode $left; public ?BinaryTreeNode $right; }