3v4l.org

run code in 300+ PHP versions simultaneously
<?php $player_data = array(array( "ID" => 1, "USER_ID" => 1, "DATA" => "UNIQUE", "VALUE" => "buuu" ), array( "ID" => 1, "USER_ID" => 1, "DATA" => "NICKNAME", "VALUE" => "NoAd" )); $new = array_column($player_data, "VALUE", "DATA"); var_dump($new);
Output for git.master_jit, git.master, rfc.property-hooks
array(2) { ["UNIQUE"]=> string(4) "buuu" ["NICKNAME"]=> string(4) "NoAd" }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
106.05 ms | 405 KiB | 5 Q