3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prices = array ( 0 => array ( 'regprice' => 25.00, 'saleprice' => 17.00 ), 1 => array ( 'regprice' => null, 'saleprice' => 19.00 ), 2 => array ( 'regprice' => 21.00, 'saleprice' => 12.00 ) ); $lowest_index = array_keys(array_column($prices, 'saleprice'), min(array_column($prices, 'saleprice'))); print_r($lowest_index);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 2 )

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:
54.48 ms | 1484 KiB | 4 Q