3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(array_column( [(object) ['foo' => 'bar']], 'foo' ));