3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array('mopo_1' => 'honta', 'hinta' => 200, 'mopo_2' => 'jamaha', 'hinta' => 320), array('mopo_1' => 'tunturi', 'hinta' => 180, 'mopo_3' => 'susuki', 'hinta' => 310), array('mopo_1' => 'manki', 'hinta' => 240, 'mopo_2' => 'peevee', 'hinta' => 1209) ); $key = array_search('1', array_column($array, 'hinta')); echo 'mopot: '; print_r($key);
Output for git.master, git.master_jit, rfc.property-hooks
mopot:

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