3v4l.org

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

preferences:
144.02 ms | 409 KiB | 6 Q