<?php class x { public string $p = 'abc'; } const A = new x; A->p = 'def'; echo A->p; // def ?>
You have javascript disabled. You will not be able to edit any code.