<?php class Foo { public string $pizda = 'pizda ruly'; public string $test = 'vse norm'; } $foo = new Foo; $test = 'pizda'; echo $foo->test . "\n"; echo $foo->$test . "\n";
You have javascript disabled. You will not be able to edit any code.