3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new StdClass; $a->foo = "bar"; var_dump(array_column([$a], "foo"));

preferences:
66.79 ms | 405 KiB | 5 Q