3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { const BAR = [1, 2, 3]; } var_dump(Foo::BAR);

preferences:
71.02 ms | 402 KiB | 5 Q