3v4l.org

run code in 300+ PHP versions simultaneously
<?php const foo = [123]; print_r(foo);

preferences:
21.04 ms | 404 KiB | 5 Q