3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array("string" => "one"), array("string" => "two") ); $bananas = array_column($arr, 'string'); print( implode(',', $bananas ) ); /* should print only "one,two" */

preferences:
50.12 ms | 402 KiB | 5 Q