3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $foo->bar()[1]; echo $foo->bar()->baz()[2]; echo testClass::another_test()[0]; echo $foo->bar(){1}; echo $foo->bar()->baz(){2}; echo testClass::another_test(){0};

This is an error 404

There are `0` results


preferences:
118.61 ms | 1010 KiB | 7 Q