3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace JSchema\Test; #[\AllowDynamicProperties] class Test { } $t = new Test(); \var_dump($t); $t->a = 10; \var_dump($t);

preferences:
16.72 ms | 404 KiB | 5 Q