3v4l.org

run code in 300+ PHP versions simultaneously
<?php $project_archives = array( 'Bridge Work' => array( array( 'Name' => 'NJ Trunpike_Bridge Repair Work', 'Location' => 'New Jersey', 'State' => 'New Jersey' ), array( 'Name' => 'Honoapiilani Highway Bridge Truss', 'Location' => 'Maui', 'State' => 'Hawai' ), array( 'Name' => 'BlueCross Blueshield of Tennessee (Bridge)', 'Location' => 'Memphis', 'State' => 'Tennessee' ), array( 'Name' => 'Henderson Center Connector Bridge', 'Location' => 'Coquitlam', 'State' => 'British Columbia' ), ), 'Educational' => array( array( 'Name' => 'RTI TASS Complex Admin Bldg', 'Location' => 'Bluffdale', 'State' => 'Utah' ), array( 'Name' => 'Auburn High School', 'Location' => 'Auburn', 'State' => 'Washington' ), array( 'Name' => 'Reed College', 'Location' => 'Portland', 'State' => 'Oregon' ), array( 'Name' => 'Shorewood High School', 'Location' => 'Shoreline', 'State' => 'Washington' ), ) ); $testing = array(); foreach($project_archives['Bridge Work'] as $key=>$value) { $testing[$key]=$value['State']; } asort($testing); print_r($testing); $a=array(); foreach($testing as $key=>$value) { $a = $project_archives['Bridge Work'][$key]; } print_r($a);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [3] => British Columbia [1] => Hawai [0] => New Jersey [2] => Tennessee ) Array ( [Name] => BlueCross Blueshield of Tennessee (Bridge) [Location] => Memphis [State] => Tennessee )

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