<?php class Foo { public string $bar = "baz"; public const LOREM = "ipsum"; public static string $abc = "def"; } $test = Foo::class; echo (new $test)->bar; echo PHP_EOL; echo $test::LOREM; echo PHP_EOL; echo $test::$abc;
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`