3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( "0" => Array ( "0" => 1134, "1" => 2014, "2" => "type1" ), "1" => Array ( "0" => 1133, "1" => 2014, "2" => "type1" ), "2" => Array ( "0" => 1132, "1" => 2014, "2" => "type2" ), "3" => Array ( "0" => 1131, "1" => 2014, "2" => "type2" ), "4" => Array ( "0" => 1130, "1" => 2013, "2" => "type1" )); $type1 = array_column($arr, "type1", 1); Var_dump($type1);
Output for git.master, git.master_jit, rfc.property-hooks
array(0) { }

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:
33.99 ms | 401 KiB | 8 Q